Maroon Colors  ·  Color Library

Palettes / Colors / #024FCC

#024FCC — Vivid Blue

#024FCC 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 #024FCC 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.

#024FCC 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 #CA7D02; it also sits naturally between #02B3CA and #1902CA. In the palettes below you can see it working alongside real color combinations from our collection.

#024FCC · RGB 2, 79, 204

Download PNG swatch SVG

Color values

HEX#024FCC
RGB2, 79, 204
HSL217°, 98%, 40%
HSV217°, 99%, 80%
CMYK99%, 61%, 0%, 20%
XYZ13.72, 9.96, 58.33
Yxy9.96, 0.1673, 0.1215
CIE-Lab37.78, 30.48, -69.71
Hunter Lab31.57, 24.41, -92.60

RGB & CMYK percentages

Red 1% · Green 31% · Blue 80%

Cyan 99% · Magenta 61% · Yellow 0% · Key 20%

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

Previews

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

CSS code for #024FCC

.text { color: #024FCC; }
.background { background-color: #024FCC; }
.border { border: 3px solid #024FCC; }
.text-rgb { color: rgb(2, 79, 204); }
.text-hsl { color: hsl(217, 98%, 40%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #024FCC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(2, 79, 204, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #024FCC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(2, 79, 204, 0.8); }

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

Shades of #024FCC

#0247B6#0241A7#013992#013383#012B6F#01235B#011E4C#011638#001028#000814

Tints of #024FCC

#025AE8#0865FD#2678FD#3F88FD#5D9BFD#7CAEFE#95BDFE#B3D0FE#CDE0FE#EBF2FF

Tones of #024FCC

#1052BC#1F55AD#2D599F#3B5C91#495F83#586374

Color harmonies

Complementary — #CA7D02:

Analogous:

Triadic:

Contrast & accessibility

Against white text7.02:1 AAA
Against black text2.99:1 Fails

Best text color on #024FCC: #FFFFFF.

Semi-transparent (opacity) text on #024FCC

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 #024FCC: ·

How #024FCC looks with color blindness

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

Protanopia · #2324AEDeuteranopia · #1F19A6Tritanopia · #069691

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:

Tailwind blue 600 · #2563EBTailwind sky 600 · #0284C7Bootstrap primary · #0D6EFD

Palettes with a similar color

These palettes use a close neighbour of #024FCC rather than the exact color:

Palette 064acb
#064ACB · #366ED8 · #F3A953 · #F2F3F3
Palette Ff0052
#FF0052 · #FFD400 · #00C68D · #0055DA
Palette 41a67e
#41A67E · #05339C · #1055C9 · #E5C95F
Crystal Canyon
#134BD1 · #496AEF · #EFC151 · #EEC391
Rustic Petal
#1C336C · #145AD0 · #6892DE · #95ACF2
Ruby Lagoon
#1F06AC · #0F42C0 · #5882E8 · #E3EF4F

Similar colors

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

#064ACB#0055DA#1055C9#134BD1#145AD0#0F42C0#194ED1#1949C6#165FCB#195BC9#0E49B5#1640D6

Browse neighbouring colors

← #024FCB  ·  #024FCD →

Frequently asked questions

What color is #024FCC?

#024FCC is Vivid Blue, a blue color (RGB 2, 79, 204). Its closest standard named color is RoyalBlue.

What is the RGB and HSL of #024FCC?

#024FCC is RGB 2, 79, 204 — HSL 217°, 98%, 40% — CMYK 99%, 61%, 0%, 20%.

What colors go with #024FCC?

Its complement is #CA7D02; analogous partners are #02B3CA and #1902CA. It also appears in 6+ palettes in our collection.

Can I use #024FCC for text?

White text on #024FCC has a contrast ratio of 7.02:1 (passes WCAG AA); black text gives 2.99:1.