#31938E#31938E
#31938E is a mid, moderate teal. Relative luminance 0.235; OKLCH L 60.6% C 0.089 H 190.2°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #31938E |
|---|---|
| RGB | rgb(49, 147, 142) |
| HSL | hsl(177, 50%, 38%) |
| HSV | hsv(177, 67%, 58%) |
| CMYK | cmyk(66.7%, 0%, 3.4%, 42.4%) |
| CIE-LAB | lab(55.55, -29.05, -5.67) |
| CIE-LCH | lch(55.55, 29.60, 191.04°) |
| OKLab | oklab(60.61% -0.0879 -0.0158) |
| OKLCH | oklch(60.61% 0.089 190.2) |
| XYZ | xyz(16.5806, 23.4716, 29.2426) |
| Luminance | 0.2347 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Sea
#3C9992
ΔE00 2.27
Greenish Blue
#0B8B87
ΔE00 3.46
Dusty Teal
#4C9085
ΔE00 3.85
Teal (survey)
#029386
ΔE00 3.86
Darkcyan
#008B8B
ΔE00 3.90
Blue Green
#0F9B8E
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31938E #933136
analogous
#31935D #31938E #316793
triadic
#31938E #8E3193 #938E31
tetradic
#31938E #5D3193 #933136 #679331
square
#31938E #5D3193 #933136 #679331
split-complementary
#31938E #933167 #935D31
monochromatic
#123735 #226562 #31938E #41C0B9 #6FCFCA
Accessibility & contrast
On white
3.69
#31938E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.69
#31938E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31938E
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31938E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31938E | 1.00 | 3.69 | 5.69 | 5.69 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B8B8E
Deuteranopia (green-blind)
#7C808F
Tritanopia (blue-blind)
#009791
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #31938e; /* rgb */ color: rgb(49, 147, 142); /* oklch */ color: oklch(60.6% 0.089 190.2);
Tailwind
colors: {
custom: {
50: '#77b3af',
500: '#31938e',
950: '#000000',
},
}SCSS
$custom: #31938e; $custom-light: #77b3af; $custom-dark: #000000;
JSON
{
"hex": "#31938e",
"rgb": {
"r": 49,
"g": 147,
"b": 142
},
"hsl": {
"h": 176.939,
"s": 50,
"l": 38.431
},
"oklch": {
"l": 0.60608,
"c": 0.08935,
"h": 190.2
},
"luminance": 0.23473
}Semantic roles & 50–950 ramp
primary
#31938E
secondary
#B7696D
accent
#4E55DA
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F