#172D9E#172D9E
#172D9E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.182 H 267.0°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #172D9E |
|---|---|
| RGB | rgb(23, 45, 158) |
| HSL | hsl(230, 75%, 35%) |
| HSV | hsv(230, 85%, 62%) |
| CMYK | cmyk(85.4%, 71.5%, 0%, 38%) |
| CIE-LAB | lab(25.34, 35.89, -62.82) |
| CIE-LCH | lch(25.34, 72.35, 299.74°) |
| OKLab | oklab(37.08% -0.0096 -0.1821) |
| OKLCH | oklch(37.08% 0.182 267) |
| XYZ | xyz(7.4611, 4.5266, 32.8216) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.42
Royal
#0C1793
ΔE00 5.43
Indigo Blue
#3A18B1
ΔE00 6.52
Cobalt Blue
#030AA7
ΔE00 6.87
Blueberry
#464196
ΔE00 7.39
Royal Blue (survey)
#0504AA
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172D9E #9E8817
analogous
#17709E #172D9E #44179E
triadic
#172D9E #9E172D #2D9E17
tetradic
#172D9E #9E1770 #9E8817 #179E44
square
#172D9E #9E1770 #9E8817 #179E44
split-complementary
#172D9E #9E4417 #709E17
monochromatic
#070F33 #0F1E69 #172D9E #1F3CD3 #4B64E5
Accessibility & contrast
On white
11.02
#172D9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#172D9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172D9E
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172D9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172D9E | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #172d9e; /* rgb */ color: rgb(23, 45, 158); /* oklch */ color: oklch(37.1% 0.182 267.0);
Tailwind
colors: {
custom: {
50: '#7066bc',
500: '#172d9e',
950: '#000000',
},
}SCSS
$custom: #172d9e; $custom-light: #7066bc; $custom-dark: #000000;
JSON
{
"hex": "#172d9e",
"rgb": {
"r": 23,
"g": 45,
"b": 158
},
"hsl": {
"h": 230.222,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.37084,
"c": 0.18238,
"h": 267
},
"luminance": 0.04528
}Semantic roles & 50–950 ramp
primary
#172D9E
secondary
#C6B24A
accent
#D337F1
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81