#31987E#31987E
#31987E is a mid, moderate teal. Relative luminance 0.246; OKLCH L 61.4% C 0.102 H 172.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #31987E |
|---|---|
| RGB | rgb(49, 152, 126) |
| HSL | hsl(165, 51%, 39%) |
| HSV | hsv(165, 68%, 60%) |
| CMYK | cmyk(67.8%, 0%, 17.1%, 40.4%) |
| CIE-LAB | lab(56.70, -35.79, 5.15) |
| CIE-LCH | lch(56.70, 36.16, 171.81°) |
| OKLab | oklab(61.39% -0.101 0.0131) |
| OKLCH | oklch(61.39% 0.102 172.6) |
| XYZ | xyz(16.2589, 24.6140, 23.6287) |
| Luminance | 0.2462 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Ocean Green
#3D9973
ΔE00 4.01
Blue Green
#0F9B8E
ΔE00 5.18
Teal (survey)
#029386
ΔE00 5.28
Viridian
#1E9167
ΔE00 5.74
Grey Teal
#5E9B8A
ΔE00 5.91
Dusty Teal
#4C9085
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31987E #98314B
analogous
#31984A #31987E #317F98
triadic
#31987E #7E3198 #987E31
tetradic
#31987E #4A3198 #98314B #7F9831
square
#31987E #4A3198 #98314B #7F9831
split-complementary
#31987E #98317F #984A31
monochromatic
#133B31 #226A58 #31987E #44C3A3 #72D2B9
Accessibility & contrast
On white
3.55
#31987E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#31987E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31987E
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31987E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31987E | 1.00 | 3.55 | 5.92 | 5.92 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938E7D
Deuteranopia (green-blind)
#858480
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #31987e; /* rgb */ color: rgb(49, 152, 126); /* oklch */ color: oklch(61.4% 0.102 172.6);
Tailwind
colors: {
custom: {
50: '#77b7a3',
500: '#31987e',
950: '#000000',
},
}SCSS
$custom: #31987e; $custom-light: #77b7a3; $custom-dark: #000000;
JSON
{
"hex": "#31987e",
"rgb": {
"r": 49,
"g": 152,
"b": 126
},
"hsl": {
"h": 164.854,
"s": 51.244,
"l": 39.412
},
"oklch": {
"l": 0.6139,
"c": 0.10182,
"h": 172.6
},
"luminance": 0.24616
}Semantic roles & 50–950 ramp
primary
#31987E
secondary
#B96B7F
accent
#4D71DB
background
#F7FBFA
surface
#EEF6F3
border
#C9D0CD
text
#0A110F
muted
#7C807F