#31797E#31797E
#31797E is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.3% C 0.071 H 201.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #31797E |
|---|---|
| RGB | rgb(49, 121, 126) |
| HSL | hsl(184, 44%, 34%) |
| HSV | hsv(184, 61%, 49%) |
| CMYK | cmyk(61.1%, 4%, 0%, 50.6%) |
| CIE-LAB | lab(46.75, -20.58, -9.45) |
| CIE-LCH | lch(46.75, 22.65, 204.67°) |
| OKLab | oklab(53.32% -0.0663 -0.0262) |
| OKLCH | oklch(53.32% 0.071 201.5) |
| XYZ | xyz(11.8683, 15.8329, 22.1652) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 2.58
Bluegreen
#017A79
ΔE00 4.51
Deep Turquoise
#017374
ΔE00 4.55
Teal
#008080
ΔE00 4.76
Dark Aquamarine
#017371
ΔE00 5.43
Dark Cyan
#0A888A
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31797E #7E3631
analogous
#317E5D #31797E #31537E
triadic
#31797E #7E3179 #797E31
tetradic
#31797E #5D317E #7E3631 #537E31
square
#31797E #5D317E #7E3631 #537E31
split-complementary
#31797E #7E3153 #7E5D31
monochromatic
#0F2426 #204F52 #31797E #42A3AA #66BDC3
Accessibility & contrast
On white
5.04
#31797E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#31797E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31797E
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31797E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31797E | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70747E
Deuteranopia (green-blind)
#646B7E
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #31797e; /* rgb */ color: rgb(49, 121, 126); /* oklch */ color: oklch(53.3% 0.071 201.5);
Tailwind
colors: {
custom: {
50: '#72a0a3',
500: '#31797e',
950: '#000000',
},
}SCSS
$custom: #31797e; $custom-light: #72a0a3; $custom-dark: #000000;
JSON
{
"hex": "#31797e",
"rgb": {
"r": 49,
"g": 121,
"b": 126
},
"hsl": {
"h": 183.896,
"s": 44,
"l": 34.314
},
"oklch": {
"l": 0.53316,
"c": 0.07124,
"h": 201.5
},
"luminance": 0.15834
}Semantic roles & 50–950 ramp
primary
#31797E
secondary
#AB6560
accent
#5C54D4
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080E0F
muted
#7B7E7F