#172F40#172F40
#172F40 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.4% C 0.043 H 241.2°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).
Color values
| HEX | #172F40 |
|---|---|
| RGB | rgb(23, 47, 64) |
| HSL | hsl(205, 47%, 17%) |
| HSV | hsv(205, 64%, 25%) |
| CMYK | cmyk(64.1%, 26.6%, 0%, 74.9%) |
| CIE-LAB | lab(18.30, -3.33, -13.55) |
| CIE-LCH | lch(18.30, 13.96, 256.20°) |
| OKLab | oklab(29.42% -0.0209 -0.0379) |
| OKLCH | oklch(29.42% 0.043 241.2) |
| XYZ | xyz(2.2949, 2.5852, 5.2275) |
| Luminance | 0.0259 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Blue Grey
#1F3B4D
ΔE00 3.87
Dark
#1B2431
ΔE00 5.64
Gunmetal
#2A3439
ΔE00 6.62
Dark Grey Blue
#29465B
ΔE00 7.39
Dark Slate Blue
#214761
ΔE00 8.14
Charcoal
#36454F
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172F40 #402817
analogous
#17403D #172F40 #171B40
triadic
#172F40 #40172F #2F4017
tetradic
#172F40 #3D1740 #402817 #1B4017
square
#172F40 #3D1740 #402817 #1B4017
split-complementary
#172F40 #40171B #403D17
monochromatic
#081117 #081117 #172F40 #27506D #37719A
Accessibility & contrast
On white
13.84
#172F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#172F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172F40
13.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172F40 | 1.00 | 13.84 | 1.52 | 13.84 |
| #FFFFFF | 13.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272F41
Deuteranopia (green-blind)
#222B40
Tritanopia (blue-blind)
#003335
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #172f40; /* rgb */ color: rgb(23, 47, 64); /* oklch */ color: oklch(29.4% 0.043 241.2);
Tailwind
colors: {
custom: {
50: '#586775',
500: '#172f40',
950: '#000000',
},
}SCSS
$custom: #172f40; $custom-light: #586775; $custom-dark: #000000;
JSON
{
"hex": "#172f40",
"rgb": {
"r": 23,
"g": 47,
"b": 64
},
"hsl": {
"h": 204.878,
"s": 47.126,
"l": 17.059
},
"oklch": {
"l": 0.29415,
"c": 0.04328,
"h": 241.2
},
"luminance": 0.02585
}Semantic roles & 50–950 ramp
primary
#172F40
secondary
#77543C
accent
#8851D7
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B