#31957E#31957E
#31957E is a mid, moderate teal. Relative luminance 0.237; OKLCH L 60.6% C 0.098 H 174.5°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #31957E |
|---|---|
| RGB | rgb(49, 149, 126) |
| HSL | hsl(166, 51%, 39%) |
| HSV | hsv(166, 67%, 58%) |
| CMYK | cmyk(67.1%, 0%, 15.4%, 41.6%) |
| CIE-LAB | lab(55.74, -34.42, 3.77) |
| CIE-LCH | lch(55.74, 34.63, 173.75°) |
| OKLab | oklab(60.61% -0.0977 0.0095) |
| OKLCH | oklch(60.61% 0.098 174.5) |
| XYZ | xyz(15.7781, 23.6525, 23.4685) |
| Luminance | 0.2365 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Teal (survey)
#029386
ΔE00 4.24
Blue Green
#0F9B8E
ΔE00 4.66
Ocean Green
#3D9973
ΔE00 5.01
Dusty Teal
#4C9085
ΔE00 5.34
Grey Teal
#5E9B8A
ΔE00 5.86
Viridian
#1E9167
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31957E #953148
analogous
#31954C #31957E #317A95
triadic
#31957E #7E3195 #957E31
tetradic
#31957E #4C3195 #953148 #7A9531
square
#31957E #4C3195 #953148 #7A9531
split-complementary
#31957E #95317A #954C31
monochromatic
#133930 #226757 #31957E #42C1A4 #70D0BA
Accessibility & contrast
On white
3.66
#31957E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#31957E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31957E
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31957E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31957E | 1.00 | 3.66 | 5.73 | 5.73 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908C7D
Deuteranopia (green-blind)
#828180
Tritanopia (blue-blind)
#00978E
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #31957e; /* rgb */ color: rgb(49, 149, 126); /* oklch */ color: oklch(60.6% 0.098 174.5);
Tailwind
colors: {
custom: {
50: '#76b5a3',
500: '#31957e',
950: '#000000',
},
}SCSS
$custom: #31957e; $custom-light: #76b5a3; $custom-dark: #000000;
JSON
{
"hex": "#31957e",
"rgb": {
"r": 49,
"g": 149,
"b": 126
},
"hsl": {
"h": 166.2,
"s": 50.505,
"l": 38.824
},
"oklch": {
"l": 0.60607,
"c": 0.09819,
"h": 174.5
},
"luminance": 0.23654
}Semantic roles & 50–950 ramp
primary
#31957E
secondary
#B86A7C
accent
#4E6EDA
background
#F7FBFA
surface
#EEF6F3
border
#C9D0CD
text
#09110F
muted
#7B807F