#171E7F#171E7F
#171E7F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.159 H 269.9°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #171E7F |
|---|---|
| RGB | rgb(23, 30, 127) |
| HSL | hsl(236, 69%, 29%) |
| HSV | hsv(236, 82%, 50%) |
| CMYK | cmyk(81.9%, 76.4%, 0%, 50.2%) |
| CIE-LAB | lab(18.55, 33.90, -54.76) |
| CIE-LCH | lch(18.55, 64.40, 301.76°) |
| OKLab | oklab(31.2% -0.0003 -0.1586) |
| OKLCH | oklch(31.2% 0.159 269.9) |
| XYZ | xyz(4.6471, 2.6425, 20.3397) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.53
Royal
#0C1793
ΔE00 3.49
Dark Royal Blue
#02066F
ΔE00 5.47
Darkblue
#00008B
ΔE00 5.76
Navy
#000080
ΔE00 5.77
Deep Blue
#040273
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171E7F #7F7817
analogous
#17527F #171E7F #44177F
triadic
#171E7F #7F171E #1E7F17
tetradic
#171E7F #7F1752 #7F7817 #177F44
square
#171E7F #7F1752 #7F7817 #177F44
split-complementary
#171E7F #7F4417 #527F17
monochromatic
#05061A #0E124B #171E7F #202AB3 #3641DB
Accessibility & contrast
On white
13.74
#171E7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#171E7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171E7F
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171E7F | 1.00 | 13.74 | 1.53 | 13.74 |
| #FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #171e7f; /* rgb */ color: rgb(23, 30, 127); /* oklch */ color: oklch(31.2% 0.159 269.9);
Tailwind
colors: {
custom: {
50: '#695ba5',
500: '#171e7f',
950: '#000000',
},
}SCSS
$custom: #171e7f; $custom-light: #695ba5; $custom-dark: #000000;
JSON
{
"hex": "#171e7f",
"rgb": {
"r": 23,
"g": 30,
"b": 127
},
"hsl": {
"h": 235.962,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.31203,
"c": 0.15861,
"h": 269.9
},
"luminance": 0.02643
}Semantic roles & 50–950 ramp
primary
#171E7F
secondary
#B4AC3E
accent
#E03CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F