#172E9E#172E9E
#172E9E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.181 H 266.8°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #172E9E |
|---|---|
| RGB | rgb(23, 46, 158) |
| HSL | hsl(230, 75%, 35%) |
| HSV | hsv(230, 85%, 62%) |
| CMYK | cmyk(85.4%, 70.9%, 0%, 38%) |
| CIE-LAB | lab(25.57, 35.25, -62.44) |
| CIE-LCH | lch(25.57, 71.70, 299.45°) |
| OKLab | oklab(37.25% -0.01 -0.181) |
| OKLCH | oklch(37.25% 0.181 266.8) |
| XYZ | xyz(7.4997, 4.6038, 32.8345) |
| Luminance | 0.0461 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.20
Royal
#0C1793
ΔE00 5.70
Indigo Blue
#3A18B1
ΔE00 6.75
Cobalt Blue
#030AA7
ΔE00 7.16
Blueberry
#464196
ΔE00 7.23
Blue Blue
#2242C7
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172E9E #9E8717
analogous
#17719E #172E9E #44179E
triadic
#172E9E #9E172E #2E9E17
tetradic
#172E9E #9E1771 #9E8717 #179E44
square
#172E9E #9E1771 #9E8717 #179E44
split-complementary
#172E9E #9E4417 #719E17
monochromatic
#070F33 #0F1E69 #172E9E #1F3ED3 #4B65E5
Accessibility & contrast
On white
10.93
#172E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#172E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172E9E
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172E9E | 1.00 | 10.93 | 1.92 | 10.93 |
| #FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #172e9e; /* rgb */ color: rgb(23, 46, 158); /* oklch */ color: oklch(37.3% 0.181 266.8);
Tailwind
colors: {
custom: {
50: '#7067bc',
500: '#172e9e',
950: '#000000',
},
}SCSS
$custom: #172e9e; $custom-light: #7067bc; $custom-dark: #000000;
JSON
{
"hex": "#172e9e",
"rgb": {
"r": 23,
"g": 46,
"b": 158
},
"hsl": {
"h": 229.778,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.37254,
"c": 0.18127,
"h": 266.8
},
"luminance": 0.04605
}Semantic roles & 50–950 ramp
primary
#172E9E
secondary
#C6B14A
accent
#D137F1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81