#172E90#172E90
#172E90 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.163 H 266.8°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #172E90 |
|---|---|
| RGB | rgb(23, 46, 144) |
| HSL | hsl(229, 72%, 33%) |
| HSV | hsv(229, 84%, 56%) |
| CMYK | cmyk(84%, 68.1%, 0%, 43.5%) |
| CIE-LAB | lab(24.16, 29.92, -56.17) |
| CIE-LCH | lch(24.16, 63.65, 298.04°) |
| OKLab | oklab(35.8% -0.0091 -0.1627) |
| OKLCH | oklch(35.8% 0.163 266.8) |
| XYZ | xyz(6.3626, 4.1490, 26.8456) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.56
Royal
#0C1793
ΔE00 6.00
Midnight Blue
#191970
ΔE00 7.04
Blueberry
#464196
ΔE00 7.25
Darkslateblue
#483D8B
ΔE00 7.48
Cobalt Blue
#030AA7
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172E90 #907917
analogous
#176A90 #172E90 #3C1790
triadic
#172E90 #90172E #2E9017
tetradic
#172E90 #90176A #907917 #17903C
square
#172E90 #90176A #907917 #17903C
split-complementary
#172E90 #903C17 #6A9017
monochromatic
#060C26 #0F1D5B #172E90 #1F3FC5 #415FE1
Accessibility & contrast
On white
11.48
#172E90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#172E90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172E90
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172E90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172E90 | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #172e90; /* rgb */ color: rgb(23, 46, 144); /* oklch */ color: oklch(35.8% 0.163 266.8);
Tailwind
colors: {
custom: {
50: '#6c66b2',
500: '#172e90',
950: '#000000',
},
}SCSS
$custom: #172e90; $custom-light: #6c66b2; $custom-dark: #000000;
JSON
{
"hex": "#172e90",
"rgb": {
"r": 23,
"g": 46,
"b": 144
},
"hsl": {
"h": 228.595,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.35795,
"c": 0.16298,
"h": 266.8
},
"luminance": 0.0415
}Semantic roles & 50–950 ramp
primary
#172E90
secondary
#C1A942
accent
#CC39EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80