#172F58#172F58
#172F58 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.080 H 260.4°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #172F58 |
|---|---|
| RGB | rgb(23, 47, 88) |
| HSL | hsl(218, 59%, 22%) |
| HSV | hsv(218, 74%, 35%) |
| CMYK | cmyk(73.9%, 46.6%, 0%, 65.5%) |
| CIE-LAB | lab(19.72, 6.32, -27.52) |
| CIE-LCH | lch(19.72, 28.24, 282.93°) |
| OKLab | oklab(30.99% -0.0133 -0.0786) |
| OKLCH | oklch(30.99% 0.08 260.4) |
| XYZ | xyz(3.1307, 2.9195, 9.6291) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.36
Navy Blue
#1B2A4A
ΔE00 3.22
Marine Blue
#01386A
ΔE00 4.83
Twilight Blue
#0A437A
ΔE00 8.05
Darkish Blue
#014182
ΔE00 8.10
Navy (survey)
#01153E
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172F58 #584017
analogous
#175058 #172F58 #201758
triadic
#172F58 #58172F #2F5817
tetradic
#172F58 #581750 #584017 #175820
square
#172F58 #581750 #584017 #175820
split-complementary
#172F58 #582017 #505817
monochromatic
#060D18 #0A1527 #172F58 #244989 #3063B9
Accessibility & contrast
On white
13.26
#172F58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#172F58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172F58
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172F58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172F58 | 1.00 | 13.26 | 1.58 | 13.26 |
| #FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B335A
Deuteranopia (green-blind)
#102D57
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #172f58; /* rgb */ color: rgb(23, 47, 88); /* oklch */ color: oklch(31.0% 0.080 260.4);
Tailwind
colors: {
custom: {
50: '#5d6787',
500: '#172f58',
950: '#000000',
},
}SCSS
$custom: #172f58; $custom-light: #5d6787; $custom-dark: #000000;
JSON
{
"hex": "#172f58",
"rgb": {
"r": 23,
"g": 47,
"b": 88
},
"hsl": {
"h": 217.846,
"s": 58.559,
"l": 21.765
},
"oklch": {
"l": 0.30988,
"c": 0.07974,
"h": 260.4
},
"luminance": 0.0292
}Semantic roles & 50–950 ramp
primary
#172F58
secondary
#8F703C
accent
#A846E2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05060B
muted
#797A7C