#172F56#172F56
#172F56 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.8% C 0.077 H 259.6°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).
Color values
| HEX | #172F56 |
|---|---|
| RGB | rgb(23, 47, 86) |
| HSL | hsl(217, 58%, 21%) |
| HSV | hsv(217, 73%, 34%) |
| CMYK | cmyk(73.3%, 45.3%, 0%, 66.3%) |
| CIE-LAB | lab(19.58, 5.49, -26.41) |
| CIE-LCH | lch(19.58, 26.97, 281.74°) |
| OKLab | oklab(30.84% -0.0138 -0.0753) |
| OKLCH | oklch(30.84% 0.077 259.6) |
| XYZ | xyz(3.0490, 2.8868, 9.1988) |
| Luminance | 0.0289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.58
Navy Blue
#1B2A4A
ΔE00 2.96
Marine Blue
#01386A
ΔE00 4.89
Twilight Blue
#0A437A
ΔE00 8.13
Darkish Blue
#014182
ΔE00 8.24
Navy (survey)
#01153E
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172F56 #563E17
analogous
#174F56 #172F56 #1F1756
triadic
#172F56 #56172F #2F5617
tetradic
#172F56 #56174F #563E17 #17561F
square
#172F56 #56174F #563E17 #17561F
split-complementary
#172F56 #561F17 #4F5617
monochromatic
#060D18 #0A1526 #172F56 #244986 #3164B7
Accessibility & contrast
On white
13.31
#172F56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#172F56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172F56
13.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172F56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172F56 | 1.00 | 13.31 | 1.58 | 13.31 |
| #FFFFFF | 13.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D3358
Deuteranopia (green-blind)
#132D55
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #172f56; /* rgb */ color: rgb(23, 47, 86); /* oklch */ color: oklch(30.8% 0.077 259.6);
Tailwind
colors: {
custom: {
50: '#5c6786',
500: '#172f56',
950: '#000000',
},
}SCSS
$custom: #172f56; $custom-light: #5c6786; $custom-dark: #000000;
JSON
{
"hex": "#172f56",
"rgb": {
"r": 23,
"g": 47,
"b": 86
},
"hsl": {
"h": 217.143,
"s": 57.798,
"l": 21.373
},
"oklch": {
"l": 0.30841,
"c": 0.07659,
"h": 259.6
},
"luminance": 0.02887
}Semantic roles & 50–950 ramp
primary
#172F56
secondary
#8D6E3C
accent
#A647E1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C