#31897E#31897E
#31897E is a mid, moderate teal. Relative luminance 0.201; OKLCH L 57.5% C 0.085 H 183.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #31897E |
|---|---|
| RGB | rgb(49, 137, 126) |
| HSL | hsl(173, 47%, 36%) |
| HSV | hsv(173, 64%, 54%) |
| CMYK | cmyk(64.2%, 0%, 8%, 46.3%) |
| CIE-LAB | lab(51.89, -28.73, -1.83) |
| CIE-LCH | lch(51.89, 28.79, 183.64°) |
| OKLab | oklab(57.48% -0.0845 -0.0054) |
| OKLCH | oklch(57.48% 0.085 183.7) |
| XYZ | xyz(13.9764, 20.0492, 22.8679) |
| Luminance | 0.2005 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greenish Blue
#0B8B87
ΔE00 3.41
Dusty Teal
#4C9085
ΔE00 3.90
Teal (survey)
#029386
ΔE00 3.98
Darkcyan
#008B8B
ΔE00 4.83
Dark Cyan
#0A888A
ΔE00 5.47
Teal
#008080
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31897E #89313C
analogous
#318952 #31897E #316889
triadic
#31897E #7E3189 #897E31
tetradic
#31897E #523189 #89313C #688931
square
#31897E #523189 #89313C #688931
split-complementary
#31897E #893168 #895231
monochromatic
#112F2B #215C55 #31897E #41B6A7 #6BCABE
Accessibility & contrast
On white
4.19
#31897E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#31897E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31897E
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31897E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31897E | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83817E
Deuteranopia (green-blind)
#75787F
Tritanopia (blue-blind)
#008C86
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #31897e; /* rgb */ color: rgb(49, 137, 126); /* oklch */ color: oklch(57.5% 0.085 183.7);
Tailwind
colors: {
custom: {
50: '#74aca3',
500: '#31897e',
950: '#000000',
},
}SCSS
$custom: #31897e; $custom-light: #74aca3; $custom-dark: #000000;
JSON
{
"hex": "#31897e",
"rgb": {
"r": 49,
"g": 137,
"b": 126
},
"hsl": {
"h": 172.5,
"s": 47.312,
"l": 36.471
},
"oklch": {
"l": 0.57476,
"c": 0.08465,
"h": 183.7
},
"luminance": 0.20051
}Semantic roles & 50–950 ramp
primary
#31897E
secondary
#B1646E
accent
#5162D7
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#09100F
muted
#7B7F7F