Maroon Colors  ·  Color Library

Palettes / Colors / #166EDA

#166EDA — Vivid Blue

#166EDA 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 #166EDA 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.

#166EDA 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 #DA8216; it also sits naturally between #16D0DA and #1F16DA. In the palettes below you can see it working alongside real color combinations from our collection.

#166EDA · RGB 22, 110, 218

Download PNG swatch SVG

Color values

HEX#166EDA
RGB22, 110, 218
HSL213°, 82%, 47%
HSV213°, 90%, 85%
CMYK90%, 50%, 0%, 15%
XYZ18.56, 16.38, 68.51
Yxy16.38, 0.1794, 0.1584
CIE-Lab47.47, 16.49, -61.94
Hunter Lab40.48, 13.39, -77.08

RGB & CMYK percentages

Red 9% · Green 43% · Blue 85%

Cyan 90% · Magenta 50% · Yellow 0% · Key 15%

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

Previews

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

CSS code for #166EDA

.text { color: #166EDA; }
.background { background-color: #166EDA; }
.border { border: 3px solid #166EDA; }
.text-rgb { color: rgb(22, 110, 218); }
.text-hsl { color: hsl(213, 82%, 47%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #166EDA; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(22, 110, 218, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #166EDA; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(22, 110, 218, 0.8); }

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

Shades of #166EDA

#1465C8#1159B0#10509E#0E468B#0C3D79#0A3161#08284F#061E3C#041325#020913

Tints of #166EDA

#207BE9#3788EB#4F96EE#66A4F0#7DB2F2#90BDF4#A7CBF6#BED8F9#D5E6FB#ECF4FD

Tones of #166EDA

#246FCC#3171BF#4072B0#4E74A2#5C7593#697686

Color harmonies

Complementary — #DA8216:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.91:1 AA
Against black text4.28:1 AA large only

Best text color on #166EDA: #FFFFFF.

Semi-transparent (opacity) text on #166EDA

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 #166EDA: ·

How #166EDA looks with color blindness

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

Protanopia · #3C3DC0Deuteranopia · #3730BATritanopia · #1AABA7

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 #166EDA rather than the exact color:

Crystal Monsoon
#28C7C1 · #186BE0 · #3A14C7 · #841A99
Mellow Ruby Opal
#8C5A10 · #ED965E · #1969DF · #B9CFF3
Dusty Ruby Lagoon
#C47D1C · #E48044 · #1F6FDC · #BCC8F1
Palette 06283d
#06283D · #1363DF · #47B5FF · #DFF6FF
Crystal Lagoon
#5BE0E2 · #1D67E4 · #3917A7 · #C725E5
Palette 106ee8
#106EE8 · #0FC1A1 · #90E0AB · #CBFFCE

Similar colors

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

#186BE0#1969DF#1F6FDC#1363DF#1D67E4#106EE8#2668D3#296FDB#1882D5#165FCB#145AD0#2665CD

Browse neighbouring colors

← #166ED9  ·  #166EDB →

Frequently asked questions

What color is #166EDA?

#166EDA is Vivid Blue, a blue color (RGB 22, 110, 218). Its closest standard named color is RoyalBlue.

What is the RGB and HSL of #166EDA?

#166EDA is RGB 22, 110, 218 — HSL 213°, 82%, 47% — CMYK 90%, 50%, 0%, 15%.

What colors go with #166EDA?

Its complement is #DA8216; analogous partners are #16D0DA and #1F16DA. It also appears in 6+ palettes in our collection.

Can I use #166EDA for text?

White text on #166EDA has a contrast ratio of 4.91:1 (passes WCAG AA); black text gives 4.28:1.