Maroon Colors  ·  Color Library

Palettes / Colors / #024FD5

#024FD5 — Vivid Blue

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

#024FD5 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 #D48702; it also sits naturally between #02B8D4 and #1E02D4. In the palettes below you can see it working alongside real color combinations from our collection.

#024FD5 · RGB 2, 79, 213

Download PNG swatch SVG

Color values

HEX#024FD5
RGB2, 79, 213
HSL218°, 98%, 42%
HSV218°, 99%, 84%
CMYK99%, 63%, 0%, 16%
XYZ14.83, 10.41, 64.18
Yxy10.41, 0.1659, 0.1164
CIE-Lab38.57, 33.98, -73.61
Hunter Lab32.26, 27.75, -100.85

RGB & CMYK percentages

Red 1% · Green 31% · Blue 84%

Cyan 99% · Magenta 63% · Yellow 0% · Key 16%

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

Previews

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

CSS code for #024FD5

.text { color: #024FD5; }
.background { background-color: #024FD5; }
.border { border: 3px solid #024FD5; }
.text-rgb { color: rgb(2, 79, 213); }
.text-hsl { color: hsl(218, 98%, 42%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #024FD5; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(2, 79, 213, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #024FD5; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(2, 79, 213, 0.8); }

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

Shades of #024FD5

#0248C0#0240AC#023A9D#013388#012B74#012460#011C4C#01173D#000F28#000814

Tints of #024FD5

#0259ED#1268FD#2B78FD#498BFD#629BFD#7CABFE#9ABFFE#B3CFFE#D2E2FF#EBF2FF

Tones of #024FD5

#1153C5#2057B6#2F5BA7#3E5F98#4D6389#5C677A

Color harmonies

Complementary — #D48702:

Analogous:

Triadic:

Contrast & accessibility

Against white text6.81:1 AA
Against black text3.08:1 AA large only

Best text color on #024FD5: #FFFFFF.

Semi-transparent (opacity) text on #024FD5

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

How #024FD5 looks with color blindness

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

Protanopia · #2324B5Deuteranopia · #1F19ADTritanopia · #069B95

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 · #2563EBBootstrap primary · #0D6EFDTailwind sky 600 · #0284C7

Palettes with a similar color

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

Palette Ff0052
#FF0052 · #FFD400 · #00C68D · #0055DA
Palette 064acb
#064ACB · #366ED8 · #F3A953 · #F2F3F3
Crystal Canyon
#134BD1 · #496AEF · #EFC151 · #EEC391
Palette 41a67e
#41A67E · #05339C · #1055C9 · #E5C95F
Rustic Petal
#1C336C · #145AD0 · #6892DE · #95ACF2
Silent Monsoon
#20C0E8 · #194ED1 · #3A18B2 · #AD2FDA

Similar colors

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

#0055DA#064ACB#134BD1#1055C9#145AD0#194ED1#1345E2#1640D6#1656E4#165FCB#0F42C0#1363DF

Browse neighbouring colors

← #024FD4  ·  #024FD6 →

Frequently asked questions

What color is #024FD5?

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

What is the RGB and HSL of #024FD5?

#024FD5 is RGB 2, 79, 213 — HSL 218°, 98%, 42% — CMYK 99%, 63%, 0%, 16%.

What colors go with #024FD5?

Its complement is #D48702; analogous partners are #02B8D4 and #1E02D4. It also appears in 6+ palettes in our collection.

Can I use #024FD5 for text?

White text on #024FD5 has a contrast ratio of 6.81:1 (passes WCAG AA); black text gives 3.08:1.