#172E4E#172E4E
#172E4E is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.0% C 0.065 H 257.0°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #172E4E |
|---|---|
| RGB | rgb(23, 46, 78) |
| HSL | hsl(215, 54%, 20%) |
| HSV | hsv(215, 71%, 31%) |
| CMYK | cmyk(70.5%, 41%, 0%, 69.4%) |
| CIE-LAB | lab(18.74, 2.92, -22.39) |
| CIE-LCH | lch(18.74, 22.58, 277.42°) |
| OKLab | oklab(30.02% -0.0147 -0.0636) |
| OKLCH | oklch(30.02% 0.065 257) |
| XYZ | xyz(2.7050, 2.6859, 7.5821) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.56
Marine
#042E60
ΔE00 3.86
Marine Blue
#01386A
ΔE00 5.66
Dark
#1B2431
ΔE00 8.04
Navy (survey)
#01153E
ΔE00 8.46
Dark Blue Grey
#1F3B4D
ΔE00 8.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172E4E #4E3717
analogous
#174A4E #172E4E #1C174E
triadic
#172E4E #4E172E #2E4E17
tetradic
#172E4E #4E174A #4E3717 #174E1C
square
#172E4E #4E174A #4E3717 #174E1C
split-complementary
#172E4E #4E1C17 #4A4E17
monochromatic
#070E18 #09121F #172E4E #254A7D #3366AD
Accessibility & contrast
On white
13.66
#172E4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#172E4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172E4E
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172E4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172E4E | 1.00 | 13.66 | 1.54 | 13.66 |
| #FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20304F
Deuteranopia (green-blind)
#182B4D
Tritanopia (blue-blind)
#00353A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #172e4e; /* rgb */ color: rgb(23, 46, 78); /* oklch */ color: oklch(30.0% 0.065 257.0);
Tailwind
colors: {
custom: {
50: '#5b6680',
500: '#172e4e',
950: '#000000',
},
}SCSS
$custom: #172e4e; $custom-light: #5b6680; $custom-dark: #000000;
JSON
{
"hex": "#172e4e",
"rgb": {
"r": 23,
"g": 46,
"b": 78
},
"hsl": {
"h": 214.909,
"s": 54.455,
"l": 19.804
},
"oklch": {
"l": 0.30019,
"c": 0.06524,
"h": 257
},
"luminance": 0.02686
}Semantic roles & 50–950 ramp
primary
#172E4E
secondary
#85663C
accent
#A04ADE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C