#173F4F#173F4F
#173F4F is a dark, muted cyan. Relative luminance 0.043; OKLCH L 34.7% C 0.052 H 227.6°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #173F4F |
|---|---|
| RGB | rgb(23, 63, 79) |
| HSL | hsl(197, 55%, 20%) |
| HSV | hsv(197, 71%, 31%) |
| CMYK | cmyk(70.9%, 20.3%, 0%, 69%) |
| CIE-LAB | lab(24.64, -8.18, -13.83) |
| CIE-LCH | lch(24.64, 16.07, 239.38°) |
| OKLab | oklab(34.7% -0.0353 -0.0386) |
| OKLCH | oklch(34.7% 0.052 227.6) |
| XYZ | xyz(3.5416, 4.3013, 8.0392) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Blue Grey
#1F3B4D
ΔE00 3.69
Dark Grey Blue
#29465B
ΔE00 5.10
Dark Slate Blue
#214761
ΔE00 5.76
Charcoal
#36454F
ΔE00 6.46
Gunmetal
#2A3439
ΔE00 8.27
Darkslategray
#2F4F4F
ΔE00 9.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173F4F #4F2717
analogous
#174F43 #173F4F #17234F
triadic
#173F4F #4F173F #3F4F17
tetradic
#173F4F #43174F #4F2717 #234F17
square
#173F4F #43174F #4F2717 #234F17
split-complementary
#173F4F #4F1723 #4F4317
monochromatic
#071318 #091920 #173F4F #25657E #338BAE
Accessibility & contrast
On white
11.29
#173F4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#173F4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173F4F
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173F4F | 1.00 | 11.29 | 1.86 | 11.29 |
| #FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373E50
Deuteranopia (green-blind)
#2F384F
Tritanopia (blue-blind)
#004444
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #173f4f; /* rgb */ color: rgb(23, 63, 79); /* oklch */ color: oklch(34.7% 0.052 227.6);
Tailwind
colors: {
custom: {
50: '#5b7480',
500: '#173f4f',
950: '#000000',
},
}SCSS
$custom: #173f4f; $custom-light: #5b7480; $custom-dark: #000000;
JSON
{
"hex": "#173f4f",
"rgb": {
"r": 23,
"g": 63,
"b": 79
},
"hsl": {
"h": 197.143,
"s": 54.902,
"l": 20
},
"oklch": {
"l": 0.34697,
"c": 0.05234,
"h": 227.6
},
"luminance": 0.04302
}Semantic roles & 50–950 ramp
primary
#173F4F
secondary
#86513C
accent
#744ADE
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04080A
muted
#797B7C