#172E5E#172E5E
#172E5E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.091 H 263.0°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).
Color values
| HEX | #172E5E |
|---|---|
| RGB | rgb(23, 46, 94) |
| HSL | hsl(221, 61%, 23%) |
| HSV | hsv(221, 76%, 37%) |
| CMYK | cmyk(75.5%, 51.1%, 0%, 63.1%) |
| CIE-LAB | lab(19.82, 9.55, -31.33) |
| CIE-LCH | lch(19.82, 32.76, 286.94°) |
| OKLab | oklab(31.2% -0.0111 -0.0898) |
| OKLCH | oklch(31.2% 0.091 263) |
| XYZ | xyz(3.3500, 2.9440, 10.9792) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.22
Navy Blue
#1B2A4A
ΔE00 4.21
Marine Blue
#01386A
ΔE00 5.12
Darkish Blue
#014182
ΔE00 8.03
Navy (survey)
#01153E
ΔE00 8.14
Twilight Blue
#0A437A
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172E5E #5E4717
analogous
#17515E #172E5E #23175E
triadic
#172E5E #5E172E #2E5E17
tetradic
#172E5E #5E1751 #5E4717 #175E23
square
#172E5E #5E1751 #5E4717 #175E23
split-complementary
#172E5E #5E2317 #515E17
monochromatic
#060C19 #0B162D #172E5E #23468F #2F5EC0
Accessibility & contrast
On white
13.22
#172E5E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#172E5E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172E5E
13.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172E5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172E5E | 1.00 | 13.22 | 1.59 | 13.22 |
| #FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#143360
Deuteranopia (green-blind)
#042D5D
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #172e5e; /* rgb */ color: rgb(23, 46, 94); /* oklch */ color: oklch(31.2% 0.091 263.0);
Tailwind
colors: {
custom: {
50: '#5e668c',
500: '#172e5e',
950: '#000000',
},
}SCSS
$custom: #172e5e; $custom-light: #5e668c; $custom-dark: #000000;
JSON
{
"hex": "#172e5e",
"rgb": {
"r": 23,
"g": 46,
"b": 94
},
"hsl": {
"h": 220.563,
"s": 60.684,
"l": 22.941
},
"oklch": {
"l": 0.312,
"c": 0.09052,
"h": 263
},
"luminance": 0.02944
}Semantic roles & 50–950 ramp
primary
#172E5E
secondary
#95783C
accent
#B044E4
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D