#031F1C#031F1C
#031F1C is a very dark, muted teal. Relative luminance 0.011; OKLCH L 21.7% C 0.035 H 185.2°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).
Color values
| HEX | #031F1C |
|---|---|
| RGB | rgb(3, 31, 28) |
| HSL | hsl(174, 82%, 7%) |
| HSV | hsv(174, 90%, 12%) |
| CMYK | cmyk(90.3%, 0%, 9.7%, 87.8%) |
| CIE-LAB | lab(9.67, -11.47, -1.09) |
| CIE-LCH | lch(9.67, 11.52, 185.43°) |
| OKLab | oklab(21.7% -0.0345 -0.0031) |
| OKLCH | oklch(21.7% 0.035 185.2) |
| XYZ | xyz(0.7370, 1.0831, 1.2686) |
| Luminance | 0.0108 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Almost Black
#070D0D
ΔE00 10.92
Gunmetal
#2A3439
ΔE00 12.15
Charcoal (survey)
#343837
ΔE00 13.32
Black
#000000
ΔE00 13.68
Onyx
#353839
ΔE00 14.28
Dark
#1B2431
ΔE00 14.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#031F1C #1F0306
analogous
#031F0E #031F1C #03141F
triadic
#031F1C #1C031F #1F1C03
tetradic
#031F1C #0E031F #1F0306 #141F03
square
#031F1C #0E031F #1F0306 #141F03
split-complementary
#031F1C #1F0314 #1F0E03
monochromatic
#031C19 #031C19 #031F1C #08574E #0E8F81
Accessibility & contrast
On white
17.26
#031F1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.22
#031F1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #031F1C
17.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##031F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##031F1C | 1.00 | 17.26 | 1.22 | 17.26 |
| #FFFFFF | 17.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D1D1C
Deuteranopia (green-blind)
#19191C
Tritanopia (blue-blind)
#00201E
Achromatopsia (no color)
#1B1B1B
Design tokens & code
CSS
--color: #031f1c; /* rgb */ color: rgb(3, 31, 28); /* oklch */ color: oklch(21.7% 0.035 185.2);
Tailwind
colors: {
custom: {
50: '#475a57',
500: '#031f1c',
950: '#000000',
},
}SCSS
$custom: #031f1c; $custom-light: #475a57; $custom-dark: #000000;
JSON
{
"hex": "#031f1c",
"rgb": {
"r": 3,
"g": 31,
"b": 28
},
"hsl": {
"h": 173.571,
"s": 82.353,
"l": 6.667
},
"oklch": {
"l": 0.21698,
"c": 0.0346,
"h": 185.2
},
"luminance": 0.01083
}Semantic roles & 50–950 ramp
primary
#031F1C
secondary
#631B22
accent
#2F45F9
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000403
muted
#777978