#31978B#31978B
#31978B is a mid, moderate teal. Relative luminance 0.246; OKLCH L 61.5% C 0.094 H 184.0°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #31978B |
|---|---|
| RGB | rgb(49, 151, 139) |
| HSL | hsl(173, 51%, 39%) |
| HSV | hsv(173, 68%, 59%) |
| CMYK | cmyk(67.5%, 0%, 7.9%, 40.8%) |
| CIE-LAB | lab(56.73, -31.83, -2.21) |
| CIE-LCH | lch(56.73, 31.91, 183.97°) |
| OKLab | oklab(61.53% -0.0937 -0.0065) |
| OKLCH | oklch(61.53% 0.094 184) |
| XYZ | xyz(16.9913, 24.6484, 28.2832) |
| Luminance | 0.2465 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Blue Green
#0F9B8E
ΔE00 2.00
Sea
#3C9992
ΔE00 2.37
Teal (survey)
#029386
ΔE00 2.51
Dusty Teal
#4C9085
ΔE00 3.75
Greenish Blue
#0B8B87
ΔE00 5.36
Grey Teal
#5E9B8A
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31978B #97313D
analogous
#319758 #31978B #317097
triadic
#31978B #8B3197 #978B31
tetradic
#31978B #583197 #97313D #709731
square
#31978B #583197 #97313D #709731
split-complementary
#31978B #973170 #975831
monochromatic
#133B36 #226960 #31978B #43C2B3 #71D1C6
Accessibility & contrast
On white
3.54
#31978B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.93
#31978B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31978B
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31978B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31978B | 1.00 | 3.54 | 5.93 | 5.93 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908E8B
Deuteranopia (green-blind)
#81848C
Tritanopia (blue-blind)
#009A93
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #31978b; /* rgb */ color: rgb(49, 151, 139); /* oklch */ color: oklch(61.5% 0.094 184.0);
Tailwind
colors: {
custom: {
50: '#77b6ac',
500: '#31978b',
950: '#000000',
},
}SCSS
$custom: #31978b; $custom-light: #77b6ac; $custom-dark: #000000;
JSON
{
"hex": "#31978b",
"rgb": {
"r": 49,
"g": 151,
"b": 139
},
"hsl": {
"h": 172.941,
"s": 51,
"l": 39.216
},
"oklch": {
"l": 0.61534,
"c": 0.09388,
"h": 184
},
"luminance": 0.2465
}Semantic roles & 50–950 ramp
primary
#31978B
secondary
#B96B74
accent
#4D5EDA
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F