#172A3F#172A3F
#172A3F is a dark, muted cyan. Relative luminance 0.022; OKLCH L 28.0% C 0.046 H 252.0°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).
Color values
| HEX | #172A3F |
|---|---|
| RGB | rgb(23, 42, 63) |
| HSL | hsl(212, 47%, 17%) |
| HSV | hsv(212, 63%, 25%) |
| CMYK | cmyk(63.5%, 33.3%, 0%, 75.3%) |
| CIE-LAB | lab(16.49, -0.22, -15.68) |
| CIE-LCH | lch(16.49, 15.69, 269.20°) |
| OKLab | oklab(27.97% -0.0143 -0.0441) |
| OKLCH | oklch(27.97% 0.046 252) |
| XYZ | xyz(2.0782, 2.1968, 5.0162) |
| Luminance | 0.0220 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark
#1B2431
ΔE00 4.16
Navy Blue
#1B2A4A
ΔE00 5.45
Dark Blue Grey
#1F3B4D
ΔE00 6.91
Marine
#042E60
ΔE00 7.28
Marine Blue
#01386A
ΔE00 8.52
Gunmetal
#2A3439
ΔE00 8.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172A3F #3F2C17
analogous
#173E3F #172A3F #18173F
triadic
#172A3F #3F172A #2A3F17
tetradic
#172A3F #3F173E #3F2C17 #173F18
square
#172A3F #3F173E #3F2C17 #173F18
split-complementary
#172A3F #3F1817 #3E3F17
monochromatic
#080F16 #080F16 #172A3F #27486C #386699
Accessibility & contrast
On white
14.59
#172A3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#172A3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172A3F
14.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172A3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172A3F | 1.00 | 14.59 | 1.44 | 14.59 |
| #FFFFFF | 14.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#212B40
Deuteranopia (green-blind)
#1C273F
Tritanopia (blue-blind)
#002F31
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #172a3f; /* rgb */ color: rgb(23, 42, 63); /* oklch */ color: oklch(28.0% 0.046 252.0);
Tailwind
colors: {
custom: {
50: '#586374',
500: '#172a3f',
950: '#000000',
},
}SCSS
$custom: #172a3f; $custom-light: #586374; $custom-dark: #000000;
JSON
{
"hex": "#172a3f",
"rgb": {
"r": 23,
"g": 42,
"b": 63
},
"hsl": {
"h": 211.5,
"s": 46.512,
"l": 16.863
},
"oklch": {
"l": 0.27971,
"c": 0.04637,
"h": 252
},
"luminance": 0.02197
}Semantic roles & 50–950 ramp
primary
#172A3F
secondary
#765A3C
accent
#9752D6
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B