#171F3F#171F3F
#171F3F is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.061 H 270.8°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).
Color values
| HEX | #171F3F |
|---|---|
| RGB | rgb(23, 31, 63) |
| HSL | hsl(228, 47%, 17%) |
| HSV | hsv(228, 63%, 25%) |
| CMYK | cmyk(63.5%, 50.8%, 0%, 75.3%) |
| CIE-LAB | lab(12.74, 7.90, -21.60) |
| CIE-LCH | lch(12.74, 23.00, 290.09°) |
| OKLab | oklab(25.07% 0.0009 -0.0615) |
| OKLCH | oklch(25.07% 0.062 270.8) |
| XYZ | xyz(1.7402, 1.5209, 4.9035) |
| Luminance | 0.0152 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 4.09
Navy (survey)
#01153E
ΔE00 4.41
Navy Blue (survey)
#001146
ΔE00 6.78
Dark Navy Blue
#00022E
ΔE00 6.96
Midnight
#03012D
ΔE00 7.11
Dark Navy
#000435
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171F3F #3F3717
analogous
#17333F #171F3F #23173F
triadic
#171F3F #3F171F #1F3F17
tetradic
#171F3F #3F1733 #3F3717 #173F23
square
#171F3F #3F1733 #3F3717 #173F23
split-complementary
#171F3F #3F2317 #333F17
monochromatic
#080B16 #080B16 #171F3F #27356C #384B99
Accessibility & contrast
On white
16.10
#171F3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#171F3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171F3F
16.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171F3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171F3F | 1.00 | 16.10 | 1.30 | 16.10 |
| #FFFFFF | 16.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#112340
Deuteranopia (green-blind)
#0C1F3E
Tritanopia (blue-blind)
#03262B
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #171f3f; /* rgb */ color: rgb(23, 31, 63); /* oklch */ color: oklch(25.1% 0.061 270.8);
Tailwind
colors: {
custom: {
50: '#585a74',
500: '#171f3f',
950: '#000000',
},
}SCSS
$custom: #171f3f; $custom-light: #585a74; $custom-dark: #000000;
JSON
{
"hex": "#171f3f",
"rgb": {
"r": 23,
"g": 31,
"b": 63
},
"hsl": {
"h": 228,
"s": 46.512,
"l": 16.863
},
"oklch": {
"l": 0.25065,
"c": 0.0615,
"h": 270.8
},
"luminance": 0.01521
}Semantic roles & 50–950 ramp
primary
#171F3F
secondary
#766A3C
accent
#BC52D6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B