#171F6E#171F6E
#171F6E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.5% C 0.135 H 270.7°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #171F6E |
|---|---|
| RGB | rgb(23, 31, 110) |
| HSL | hsl(234, 65%, 26%) |
| HSV | hsv(234, 79%, 43%) |
| CMYK | cmyk(79.1%, 71.8%, 0%, 56.9%) |
| CIE-LAB | lab(16.93, 26.86, -46.51) |
| CIE-LCH | lch(16.93, 53.71, 300.00°) |
| OKLab | oklab(29.48% 0.0015 -0.1346) |
| OKLCH | oklch(29.48% 0.135 270.7) |
| XYZ | xyz(3.6568, 2.2875, 14.9976) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.04
Darkblue (survey)
#030764
ΔE00 5.87
Dark Royal Blue
#02066F
ΔE00 5.99
Royal
#0C1793
ΔE00 6.37
Deep Blue
#040273
ΔE00 6.76
Dark Indigo
#1F0954
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171F6E #6E6617
analogous
#174A6E #171F6E #3A176E
triadic
#171F6E #6E171F #1F6E17
tetradic
#171F6E #6E174A #6E6617 #176E3A
square
#171F6E #6E174A #6E6617 #176E3A
split-complementary
#171F6E #6E3A17 #4A6E17
monochromatic
#050719 #0C113B #171F6E #222DA1 #2C3CD3
Accessibility & contrast
On white
14.41
#171F6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#171F6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171F6E
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171F6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171F6E | 1.00 | 14.41 | 1.46 | 14.41 |
| #FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#00266D
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #171f6e; /* rgb */ color: rgb(23, 31, 110); /* oklch */ color: oklch(29.5% 0.135 270.7);
Tailwind
colors: {
custom: {
50: '#645b98',
500: '#171f6e',
950: '#000000',
},
}SCSS
$custom: #171f6e; $custom-light: #645b98; $custom-dark: #000000;
JSON
{
"hex": "#171f6e",
"rgb": {
"r": 23,
"g": 31,
"b": 110
},
"hsl": {
"h": 234.483,
"s": 65.414,
"l": 26.078
},
"oklch": {
"l": 0.29482,
"c": 0.13461,
"h": 270.7
},
"luminance": 0.02288
}Semantic roles & 50–950 ramp
primary
#171F6E
secondary
#A49A3D
accent
#D93FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E