#172F42#172F42
#172F42 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.5% C 0.046 H 244.2°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).
Color values
| HEX | #172F42 |
|---|---|
| RGB | rgb(23, 47, 66) |
| HSL | hsl(207, 48%, 17%) |
| HSV | hsv(207, 65%, 26%) |
| CMYK | cmyk(65.2%, 28.8%, 0%, 74.1%) |
| CIE-LAB | lab(18.40, -2.56, -14.77) |
| CIE-LCH | lch(18.40, 14.99, 260.16°) |
| OKLab | oklab(29.53% -0.0201 -0.0414) |
| OKLCH | oklch(29.53% 0.046 244.2) |
| XYZ | xyz(2.3529, 2.6083, 5.5327) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Blue Grey
#1F3B4D
ΔE00 4.18
Dark
#1B2431
ΔE00 5.48
Dark Grey Blue
#29465B
ΔE00 7.38
Gunmetal
#2A3439
ΔE00 7.39
Dark Slate Blue
#214761
ΔE00 7.99
Marine
#042E60
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172F42 #422A17
analogous
#174240 #172F42 #171942
triadic
#172F42 #42172F #2F4217
tetradic
#172F42 #401742 #422A17 #194217
square
#172F42 #401742 #422A17 #194217
split-complementary
#172F42 #421719 #424017
monochromatic
#081017 #081017 #172F42 #274F6F #37709D
Accessibility & contrast
On white
13.80
#172F42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#172F42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172F42
13.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172F42 | 1.00 | 13.80 | 1.52 | 13.80 |
| #FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272F43
Deuteranopia (green-blind)
#212B42
Tritanopia (blue-blind)
#003436
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #172f42; /* rgb */ color: rgb(23, 47, 66); /* oklch */ color: oklch(29.5% 0.046 244.2);
Tailwind
colors: {
custom: {
50: '#586776',
500: '#172f42',
950: '#000000',
},
}SCSS
$custom: #172f42; $custom-light: #586776; $custom-dark: #000000;
JSON
{
"hex": "#172f42",
"rgb": {
"r": 23,
"g": 47,
"b": 66
},
"hsl": {
"h": 206.512,
"s": 48.315,
"l": 17.451
},
"oklch": {
"l": 0.2953,
"c": 0.04601,
"h": 244.2
},
"luminance": 0.02609
}Semantic roles & 50–950 ramp
primary
#172F42
secondary
#79573C
accent
#8C50D8
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B