#172F90#172F90
#172F90 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.162 H 266.6°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).
Color values
| HEX | #172F90 |
|---|---|
| RGB | rgb(23, 47, 144) |
| HSL | hsl(228, 72%, 33%) |
| HSV | hsv(228, 84%, 56%) |
| CMYK | cmyk(84%, 67.4%, 0%, 43.5%) |
| CIE-LAB | lab(24.41, 29.25, -55.76) |
| CIE-LCH | lch(24.41, 62.96, 297.68°) |
| OKLab | oklab(35.98% -0.0096 -0.1615) |
| OKLCH | oklch(35.98% 0.162 266.6) |
| XYZ | xyz(6.4021, 4.2280, 26.8588) |
| Luminance | 0.0423 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.45
Royal
#0C1793
ΔE00 6.32
Blueberry
#464196
ΔE00 7.11
Midnight Blue
#191970
ΔE00 7.28
Darkslateblue
#483D8B
ΔE00 7.39
Cobalt
#0047AB
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172F90 #907817
analogous
#176B90 #172F90 #3B1790
triadic
#172F90 #90172F #2F9017
tetradic
#172F90 #90176B #907817 #17903B
square
#172F90 #90176B #907817 #17903B
split-complementary
#172F90 #903B17 #6B9017
monochromatic
#060D26 #0F1E5B #172F90 #1F40C5 #4160E1
Accessibility & contrast
On white
11.38
#172F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#172F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172F90
11.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172F90 | 1.00 | 11.38 | 1.85 | 11.38 |
| #FFFFFF | 11.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #172f90; /* rgb */ color: rgb(23, 47, 144); /* oklch */ color: oklch(36.0% 0.162 266.6);
Tailwind
colors: {
custom: {
50: '#6c67b1',
500: '#172f90',
950: '#000000',
},
}SCSS
$custom: #172f90; $custom-light: #6c67b1; $custom-dark: #000000;
JSON
{
"hex": "#172f90",
"rgb": {
"r": 23,
"g": 47,
"b": 144
},
"hsl": {
"h": 228.099,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.35981,
"c": 0.16179,
"h": 266.6
},
"luminance": 0.04229
}Semantic roles & 50–950 ramp
primary
#172F90
secondary
#C1A842
accent
#CB39EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80