Maroon Colors  ·  Color Library

Palettes / Colors / #124CFD

#124CFD — Vivid Blue

#124CFD is a blue color we call Vivid Blue, closest to the named color RoyalBlue (#4169E1). It belongs to the blue family.

Color name

Closest CSS keyword: royalblue (#4169E1) — not an exact match. CSS royalblue gives you #4169E1, a different color; use #124CFD when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#124CFD is a cool blue color associated with trust, calm and professionalism. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #FDC212; it also sits naturally between #12C2FD and #4C12FD. In the palettes below you can see it working alongside real color combinations from our collection.

#124CFD · RGB 18, 76, 253

Download PNG swatch SVG

Color values

HEX#124CFD
RGB18, 76, 253
HSL225°, 98%, 53%
HSV225°, 93%, 99%
CMYK93%, 70%, 0%, 1%
XYZ20.56, 12.39, 94.24
Yxy12.39, 0.1617, 0.0974
CIE-Lab41.83, 50.90, -90.89
Hunter Lab35.20, 45.27, -141.24

RGB & CMYK percentages

Red 7% · Green 30% · Blue 99%

Cyan 93% · Magenta 70% · Yellow 0% · Key 1%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #124CFD on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #124CFD on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #124CFD

.text { color: #124CFD; }
.background { background-color: #124CFD; }
.border { border: 3px solid #124CFD; }
.text-rgb { color: rgb(18, 76, 253); }
.text-hsl { color: hsl(225, 98%, 53%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #124CFD; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(18, 76, 253, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #124CFD; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(18, 76, 253, 0.8); }

HTML: <p style="color:#124CFD">Text here</p> · <div style="background-color:#124CFD">Div content here</div>

Shades of #124CFD

#023EF2#0238D9#0231C0#022BA7#012692#011F79#011960#011247#000C2D#000514

Tints of #124CFD

#265CFD#3F6FFD#537EFD#688DFD#81A0FE#95AFFE#A9BEFE#BDCEFE#D7E1FF#EBF0FF

Tones of #124CFD

#2255EC#335DDB#4466CA#556EB9#6676A9#767F98

Color harmonies

Complementary — #FDC212:

Analogous:

Triadic:

Contrast & accessibility

Against white text6.04:1 AA
Against black text3.48:1 AA large only

Best text color on #124CFD: #FFFFFF.

Semi-transparent (opacity) text on #124CFD

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #124CFD: ·

How #124CFD looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #2B2CD2Deuteranopia · #2823C8Tritanopia · #15B0A9

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Bootstrap primary · #0D6EFDTailwind blue 600 · #2563EBTailwind indigo 600 · #4F46E5

Palettes with a similar color

These palettes use a close neighbour of #124CFD rather than the exact color:

Honey Ruby Marble
#1A1206 · #F94FE5 · #1253FC · #A14CFE
Frozen Ruby Tempest
#250F1E · #FADC51 · #1143FE · #46F990
Palette 1b4ef5
#1B4EF5 · #3874FF · #5996FF · #F4CEFF
Velvet Harbor
#1B180B · #FA4C7A · #1340FA · #DB13FA
Palette 001bb7
#001BB7 · #0046FF · #FF8040 · #F5F1DC
Palette 0046ff
#0046FF · #73C8D2 · #F5F1DC · #FF9013

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#1253FC#1143FE#1B4EF5#1340FA#0046FF#1837F6#1E5AEA#1C33FC#1656E4#1345E2#2264FE#214DE3

Browse neighbouring colors

← #124CFC  ·  #124CFE →

Frequently asked questions

What color is #124CFD?

#124CFD is Vivid Blue, a blue color (RGB 18, 76, 253). Its closest standard named color is RoyalBlue.

What is the RGB and HSL of #124CFD?

#124CFD is RGB 18, 76, 253 — HSL 225°, 98%, 53% — CMYK 93%, 70%, 0%, 1%.

What colors go with #124CFD?

Its complement is #FDC212; analogous partners are #12C2FD and #4C12FD. It also appears in 6+ palettes in our collection.

Can I use #124CFD for text?

White text on #124CFD has a contrast ratio of 6.04:1 (passes WCAG AA); black text gives 3.48:1.