#172A42#172A42
#172A42 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 28.2% C 0.051 H 254.9°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).
Color values
| HEX | #172A42 |
|---|---|
| RGB | rgb(23, 42, 66) |
| HSL | hsl(213, 48%, 17%) |
| HSV | hsv(213, 65%, 26%) |
| CMYK | cmyk(65.2%, 36.4%, 0%, 74.1%) |
| CIE-LAB | lab(16.66, 0.96, -17.49) |
| CIE-LCH | lch(16.66, 17.52, 273.13°) |
| OKLab | oklab(28.16% -0.0133 -0.0493) |
| OKLCH | oklch(28.16% 0.051 254.9) |
| XYZ | xyz(2.1643, 2.2313, 5.4698) |
| Luminance | 0.0223 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.94
Dark
#1B2431
ΔE00 5.09
Marine
#042E60
ΔE00 6.36
Dark Blue Grey
#1F3B4D
ΔE00 7.90
Marine Blue
#01386A
ΔE00 7.94
Navy (survey)
#01153E
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172A42 #422F17
analogous
#174042 #172A42 #191742
triadic
#172A42 #42172A #2A4217
tetradic
#172A42 #421740 #422F17 #174219
square
#172A42 #421740 #422F17 #174219
split-complementary
#172A42 #421917 #404217
monochromatic
#080E17 #080E17 #172A42 #27476F #37649D
Accessibility & contrast
On white
14.52
#172A42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#172A42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172A42
14.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172A42 | 1.00 | 14.52 | 1.45 | 14.52 |
| #FFFFFF | 14.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202B43
Deuteranopia (green-blind)
#1B2742
Tritanopia (blue-blind)
#002F33
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #172a42; /* rgb */ color: rgb(23, 42, 66); /* oklch */ color: oklch(28.2% 0.051 254.9);
Tailwind
colors: {
custom: {
50: '#586376',
500: '#172a42',
950: '#000000',
},
}SCSS
$custom: #172a42; $custom-light: #586376; $custom-dark: #000000;
JSON
{
"hex": "#172a42",
"rgb": {
"r": 23,
"g": 42,
"b": 66
},
"hsl": {
"h": 213.488,
"s": 48.315,
"l": 17.451
},
"oklch": {
"l": 0.28158,
"c": 0.05109,
"h": 254.9
},
"luminance": 0.02231
}Semantic roles & 50–950 ramp
primary
#172A42
secondary
#795E3C
accent
#9C50D8
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B