#31979E#31979E
#31979E is a light, moderate teal. Relative luminance 0.253; OKLCH L 62.2% C 0.091 H 201.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #31979E |
|---|---|
| RGB | rgb(49, 151, 158) |
| HSL | hsl(184, 53%, 41%) |
| HSV | hsv(184, 69%, 62%) |
| CMYK | cmyk(69%, 4.4%, 0%, 38%) |
| CIE-LAB | lab(57.32, -26.26, -12.19) |
| CIE-LCH | lch(57.32, 28.95, 204.90°) |
| OKLab | oklab(62.21% -0.085 -0.0338) |
| OKLCH | oklch(62.21% 0.091 201.7) |
| XYZ | xyz(18.5021, 25.2527, 36.2403) |
| Luminance | 0.2525 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Cadetblue
#5F9EA0
ΔE00 5.30
Sea
#3C9992
ΔE00 5.64
Darkcyan
#008B8B
ΔE00 5.89
Dark Cyan
#0A888A
ΔE00 6.24
Greenish Blue
#0B8B87
ΔE00 6.88
Teal Blue
#01889F
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31979E #9E3831
analogous
#319E6E #31979E #31609E
triadic
#31979E #9E3197 #979E31
tetradic
#31979E #6E319E #9E3831 #609E31
square
#31979E #6E319E #9E3831 #609E31
split-complementary
#31979E #9E3160 #9E6E31
monochromatic
#143E41 #236A6F #31979E #46BEC6 #75CED4
Accessibility & contrast
On white
3.47
#31979E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#31979E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31979E
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31979E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31979E | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C909F
Deuteranopia (green-blind)
#7B859E
Tritanopia (blue-blind)
#009D99
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #31979e; /* rgb */ color: rgb(49, 151, 158); /* oklch */ color: oklch(62.2% 0.091 201.7);
Tailwind
colors: {
custom: {
50: '#79b6ba',
500: '#31979e',
950: '#000000',
},
}SCSS
$custom: #31979e; $custom-light: #79b6ba; $custom-dark: #000000;
JSON
{
"hex": "#31979e",
"rgb": {
"r": 49,
"g": 151,
"b": 158
},
"hsl": {
"h": 183.853,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.62208,
"c": 0.09145,
"h": 201.7
},
"luminance": 0.25255
}Semantic roles & 50–950 ramp
primary
#31979E
secondary
#BC736E
accent
#554CDC
background
#F7FBFB
surface
#EEF6F6
border
#C9D0D0
text
#0A1111
muted
#7C8080