#172F57#172F57
#172F57 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.078 H 260.0°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).
Color values
| HEX | #172F57 |
|---|---|
| RGB | rgb(23, 47, 87) |
| HSL | hsl(218, 58%, 22%) |
| HSV | hsv(218, 74%, 34%) |
| CMYK | cmyk(73.6%, 46%, 0%, 65.9%) |
| CIE-LAB | lab(19.65, 5.90, -26.96) |
| CIE-LCH | lch(19.65, 27.60, 282.35°) |
| OKLab | oklab(30.91% -0.0135 -0.077) |
| OKLCH | oklch(30.91% 0.078 260) |
| XYZ | xyz(3.0895, 2.9030, 9.4125) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.46
Navy Blue
#1B2A4A
ΔE00 3.08
Marine Blue
#01386A
ΔE00 4.86
Twilight Blue
#0A437A
ΔE00 8.09
Darkish Blue
#014182
ΔE00 8.17
Navy (survey)
#01153E
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172F57 #573F17
analogous
#174F57 #172F57 #1F1757
triadic
#172F57 #57172F #2F5717
tetradic
#172F57 #57174F #573F17 #17571F
square
#172F57 #57174F #573F17 #17571F
split-complementary
#172F57 #571F17 #4F5717
monochromatic
#060D18 #0A1527 #172F57 #244987 #3163B8
Accessibility & contrast
On white
13.29
#172F57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#172F57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172F57
13.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172F57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172F57 | 1.00 | 13.29 | 1.58 | 13.29 |
| #FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C3359
Deuteranopia (green-blind)
#122D56
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #172f57; /* rgb */ color: rgb(23, 47, 87); /* oklch */ color: oklch(30.9% 0.078 260.0);
Tailwind
colors: {
custom: {
50: '#5d6787',
500: '#172f57',
950: '#000000',
},
}SCSS
$custom: #172f57; $custom-light: #5d6787; $custom-dark: #000000;
JSON
{
"hex": "#172f57",
"rgb": {
"r": 23,
"g": 47,
"b": 87
},
"hsl": {
"h": 217.5,
"s": 58.182,
"l": 21.569
},
"oklch": {
"l": 0.30914,
"c": 0.07816,
"h": 260
},
"luminance": 0.02903
}Semantic roles & 50–950 ramp
primary
#172F57
secondary
#8E6F3C
accent
#A746E1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C