#31403E#31403E
#31403E is a dark, near-neutral teal. Relative luminance 0.047; OKLCH L 35.8% C 0.020 H 186.3°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #31403E |
|---|---|
| RGB | rgb(49, 64, 62) |
| HSL | hsl(172, 13%, 22%) |
| HSV | hsv(172, 23%, 25%) |
| CMYK | cmyk(23.4%, 0%, 3.1%, 74.9%) |
| CIE-LAB | lab(25.77, -6.55, -0.78) |
| CIE-LCH | lch(25.77, 6.60, 186.76°) |
| OKLab | oklab(35.76% -0.0196 -0.0022) |
| OKLCH | oklch(35.76% 0.02 186.3) |
| XYZ | xyz(3.9693, 4.6674, 5.2483) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Charcoal Grey
#3C4142
ΔE00 5.67
Charcoal (survey)
#343837
ΔE00 5.74
Gunmetal
#2A3439
ΔE00 6.60
Darkslategray
#2F4F4F
ΔE00 6.64
Onyx
#353839
ΔE00 6.86
Charcoal
#36454F
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31403E #403133
analogous
#314037 #31403E #313B40
triadic
#31403E #3E3140 #403E31
tetradic
#31403E #373140 #403133 #3B4031
square
#31403E #373140 #403133 #3B4031
split-complementary
#31403E #40313B #403731
monochromatic
#0D1111 #161D1C #31403E #4C6360 #668581
Accessibility & contrast
On white
10.86
#31403E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#31403E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31403E
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31403E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31403E | 1.00 | 10.86 | 1.93 | 10.86 |
| #FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3E3E
Deuteranopia (green-blind)
#3B3C3E
Tritanopia (blue-blind)
#2D413F
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #31403e; /* rgb */ color: rgb(49, 64, 62); /* oklch */ color: oklch(35.8% 0.020 186.3);
Tailwind
colors: {
custom: {
50: '#697473',
500: '#31403e',
950: '#000000',
},
}SCSS
$custom: #31403e; $custom-light: #697473; $custom-dark: #000000;
JSON
{
"hex": "#31403e",
"rgb": {
"r": 49,
"g": 64,
"b": 62
},
"hsl": {
"h": 172,
"s": 13.274,
"l": 22.157
},
"oklch": {
"l": 0.3576,
"c": 0.01974,
"h": 186.3
},
"luminance": 0.04668
}Semantic roles & 50–950 ramp
primary
#31403E
secondary
#705D5F
accent
#727BB6
background
#F6F7F6
surface
#EBEDEC
border
#C6C8C7
text
#060808
muted
#7A7B7B