#172E56#172E56
#172E56 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.078 H 260.7°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #172E56 |
|---|---|
| RGB | rgb(23, 46, 86) |
| HSL | hsl(218, 58%, 21%) |
| HSV | hsv(218, 73%, 34%) |
| CMYK | cmyk(73.3%, 46.5%, 0%, 66.3%) |
| CIE-LAB | lab(19.26, 6.21, -26.93) |
| CIE-LCH | lch(19.26, 27.64, 282.99°) |
| OKLab | oklab(30.59% -0.0126 -0.0769) |
| OKLCH | oklch(30.59% 0.078 260.7) |
| XYZ | xyz(3.0095, 2.8077, 9.1856) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.63
Navy Blue
#1B2A4A
ΔE00 2.82
Marine Blue
#01386A
ΔE00 5.22
Navy (survey)
#01153E
ΔE00 7.95
Twilight Blue
#0A437A
ΔE00 8.47
Darkish Blue
#014182
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172E56 #563F17
analogous
#174E56 #172E56 #201756
triadic
#172E56 #56172E #2E5617
tetradic
#172E56 #56174E #563F17 #175620
square
#172E56 #56174E #563F17 #175620
split-complementary
#172E56 #562017 #4E5617
monochromatic
#060D18 #0A1426 #172E56 #244886 #3162B7
Accessibility & contrast
On white
13.45
#172E56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#172E56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172E56
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172E56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172E56 | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B3258
Deuteranopia (green-blind)
#112C55
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #172e56; /* rgb */ color: rgb(23, 46, 86); /* oklch */ color: oklch(30.6% 0.078 260.7);
Tailwind
colors: {
custom: {
50: '#5c6686',
500: '#172e56',
950: '#000000',
},
}SCSS
$custom: #172e56; $custom-light: #5c6686; $custom-dark: #000000;
JSON
{
"hex": "#172e56",
"rgb": {
"r": 23,
"g": 46,
"b": 86
},
"hsl": {
"h": 218.095,
"s": 57.798,
"l": 21.373
},
"oklch": {
"l": 0.30588,
"c": 0.07792,
"h": 260.7
},
"luminance": 0.02808
}Semantic roles & 50–950 ramp
primary
#172E56
secondary
#8D6F3C
accent
#A947E1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C