#172A3C#172A3C
#172A3C is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.8% C 0.042 H 248.3°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).
Color values
| HEX | #172A3C |
|---|---|
| RGB | rgb(23, 42, 60) |
| HSL | hsl(209, 45%, 16%) |
| HSV | hsv(209, 62%, 24%) |
| CMYK | cmyk(61.7%, 30%, 0%, 76.5%) |
| CIE-LAB | lab(16.33, -1.38, -13.85) |
| CIE-LCH | lch(16.33, 13.92, 264.32°) |
| OKLab | oklab(27.79% -0.0155 -0.0388) |
| OKLCH | oklch(27.79% 0.042 248.3) |
| XYZ | xyz(1.9966, 2.1642, 4.5866) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark
#1B2431
ΔE00 3.66
Dark Blue Grey
#1F3B4D
ΔE00 6.07
Navy Blue
#1B2A4A
ΔE00 7.13
Gunmetal
#2A3439
ΔE00 7.66
Marine
#042E60
ΔE00 8.41
Dark Grey Blue
#29465B
ΔE00 9.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172A3C #3C2917
analogous
#173C3C #172A3C #17183C
triadic
#172A3C #3C172A #2A3C17
tetradic
#172A3C #3C173C #3C2917 #183C17
square
#172A3C #3C173C #3C2917 #183C17
split-complementary
#172A3C #3C1718 #3C3C17
monochromatic
#080F16 #080F16 #172A3C #284968 #396894
Accessibility & contrast
On white
14.66
#172A3C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#172A3C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172A3C
14.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172A3C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172A3C | 1.00 | 14.66 | 1.43 | 14.66 |
| #FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232B3D
Deuteranopia (green-blind)
#1E273C
Tritanopia (blue-blind)
#032E30
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #172a3c; /* rgb */ color: rgb(23, 42, 60); /* oklch */ color: oklch(27.8% 0.042 248.3);
Tailwind
colors: {
custom: {
50: '#576371',
500: '#172a3c',
950: '#000000',
},
}SCSS
$custom: #172a3c; $custom-light: #576371; $custom-dark: #000000;
JSON
{
"hex": "#172a3c",
"rgb": {
"r": 23,
"g": 42,
"b": 60
},
"hsl": {
"h": 209.189,
"s": 44.578,
"l": 16.275
},
"oklch": {
"l": 0.2779,
"c": 0.04178,
"h": 248.3
},
"luminance": 0.02164
}Semantic roles & 50–950 ramp
primary
#172A3C
secondary
#73573C
accent
#9254D4
background
#F5F5F6
surface
#E9EAEC
border
#C5C6C7
text
#030507
muted
#78797A