#172F2B#172F2B
#172F2B is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.4% C 0.031 H 182.1°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).
Color values
| HEX | #172F2B |
|---|---|
| RGB | rgb(23, 47, 43) |
| HSL | hsl(170, 34%, 14%) |
| HSV | hsv(170, 51%, 18%) |
| CMYK | cmyk(51.1%, 0%, 8.5%, 81.6%) |
| CIE-LAB | lab(17.41, -10.60, -0.36) |
| CIE-LCH | lch(17.41, 10.61, 181.96°) |
| OKLab | oklab(28.41% -0.0311 -0.0011) |
| OKLCH | oklch(28.41% 0.031 182.1) |
| XYZ | xyz(1.8057, 2.3895, 2.6511) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Gunmetal
#2A3439
ΔE00 9.47
Charcoal (survey)
#343837
ΔE00 9.93
Darkslategray
#2F4F4F
ΔE00 10.42
Onyx
#353839
ΔE00 11.13
Dark Teal
#014D4E
ΔE00 11.29
Charcoal Grey
#3C4142
ΔE00 11.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172F2B #2F171B
analogous
#172F1F #172F2B #17272F
triadic
#172F2B #2B172F #2F2B17
tetradic
#172F2B #1F172F #2F171B #272F17
square
#172F2B #1F172F #2F171B #272F17
split-complementary
#172F2B #2F1727 #2F1F17
monochromatic
#0A1513 #0A1513 #172F2B #2B5851 #3F8176
Accessibility & contrast
On white
14.21
#172F2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#172F2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172F2B
14.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172F2B | 1.00 | 14.21 | 1.48 | 14.21 |
| #FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D2D2B
Deuteranopia (green-blind)
#292A2B
Tritanopia (blue-blind)
#0E302E
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #172f2b; /* rgb */ color: rgb(23, 47, 43); /* oklch */ color: oklch(28.4% 0.031 182.1);
Tailwind
colors: {
custom: {
50: '#566764',
500: '#172f2b',
950: '#000000',
},
}SCSS
$custom: #172f2b; $custom-light: #566764; $custom-dark: #000000;
JSON
{
"hex": "#172f2b",
"rgb": {
"r": 23,
"g": 47,
"b": 43
},
"hsl": {
"h": 170,
"s": 34.286,
"l": 13.725
},
"oklch": {
"l": 0.28412,
"c": 0.03116,
"h": 182.1
},
"luminance": 0.0239
}Semantic roles & 50–950 ramp
primary
#172F2B
secondary
#643D44
accent
#5D70CA
background
#F5F6F5
surface
#E9EBEA
border
#C5C6C6
text
#030605
muted
#787A79