#31978F#31978F
#31978F is a mid, moderate teal. Relative luminance 0.248; OKLCH L 61.7% C 0.093 H 187.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #31978F |
|---|---|
| RGB | rgb(49, 151, 143) |
| HSL | hsl(175, 51%, 39%) |
| HSV | hsv(175, 68%, 59%) |
| CMYK | cmyk(67.5%, 0%, 5.3%, 40.8%) |
| CIE-LAB | lab(56.85, -30.70, -4.33) |
| CIE-LCH | lch(56.85, 31.00, 188.02°) |
| OKLab | oklab(61.67% -0.0918 -0.0122) |
| OKLCH | oklch(61.67% 0.093 187.6) |
| XYZ | xyz(17.2889, 24.7674, 29.8507) |
| Luminance | 0.2477 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Sea
#3C9992
ΔE00 1.24
Blue Green
#0F9B8E
ΔE00 2.74
Teal (survey)
#029386
ΔE00 3.27
Dusty Teal
#4C9085
ΔE00 3.94
Greenish Blue
#0B8B87
ΔE00 4.76
Darkcyan
#008B8B
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31978F #973139
analogous
#31975C #31978F #316C97
triadic
#31978F #8F3197 #978F31
tetradic
#31978F #5C3197 #973139 #6C9731
square
#31978F #5C3197 #973139 #6C9731
split-complementary
#31978F #97316C #975C31
monochromatic
#133B37 #226963 #31978F #43C2B8 #71D1CA
Accessibility & contrast
On white
3.53
#31978F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#31978F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31978F
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31978F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31978F | 1.00 | 3.53 | 5.95 | 5.95 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F8F8F
Deuteranopia (green-blind)
#808490
Tritanopia (blue-blind)
#009B94
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #31978f; /* rgb */ color: rgb(49, 151, 143); /* oklch */ color: oklch(61.7% 0.093 187.6);
Tailwind
colors: {
custom: {
50: '#77b6af',
500: '#31978f',
950: '#000000',
},
}SCSS
$custom: #31978f; $custom-light: #77b6af; $custom-dark: #000000;
JSON
{
"hex": "#31978f",
"rgb": {
"r": 49,
"g": 151,
"b": 143
},
"hsl": {
"h": 175.294,
"s": 51,
"l": 39.216
},
"oklch": {
"l": 0.61668,
"c": 0.09259,
"h": 187.6
},
"luminance": 0.24769
}Semantic roles & 50–950 ramp
primary
#31978F
secondary
#B96B71
accent
#4D58DA
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F