#31998F#31998F
#31998F is a light, moderate teal. Relative luminance 0.254; OKLCH L 62.2% C 0.094 H 185.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #31998F |
|---|---|
| RGB | rgb(49, 153, 143) |
| HSL | hsl(174, 51%, 40%) |
| HSV | hsv(174, 68%, 60%) |
| CMYK | cmyk(68%, 0%, 6.5%, 40%) |
| CIE-LAB | lab(57.48, -31.66, -3.39) |
| CIE-LCH | lch(57.48, 31.84, 186.12°) |
| OKLab | oklab(62.18% -0.0939 -0.0097) |
| OKLCH | oklch(62.18% 0.094 185.9) |
| XYZ | xyz(17.6135, 25.4166, 29.9589) |
| Luminance | 0.2542 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Sea
#3C9992
ΔE00 1.54
Blue Green
#0F9B8E
ΔE00 2.01
Teal (survey)
#029386
ΔE00 3.21
Dusty Teal
#4C9085
ΔE00 4.21
Greenish Blue
#0B8B87
ΔE00 5.55
Dull Teal
#5F9E8F
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31998F #99313B
analogous
#31995B #31998F #316F99
triadic
#31998F #8F3199 #998F31
tetradic
#31998F #5B3199 #99313B #6F9931
square
#31998F #5B3199 #99313B #6F9931
split-complementary
#31998F #99316F #995B31
monochromatic
#133C38 #226B64 #31998F #44C3B7 #72D2C9
Accessibility & contrast
On white
3.45
#31998F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#31998F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31998F
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31998F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31998F | 1.00 | 3.45 | 6.08 | 6.08 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91918F
Deuteranopia (green-blind)
#828590
Tritanopia (blue-blind)
#009C96
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #31998f; /* rgb */ color: rgb(49, 153, 143); /* oklch */ color: oklch(62.2% 0.094 185.9);
Tailwind
colors: {
custom: {
50: '#78b7af',
500: '#31998f',
950: '#000000',
},
}SCSS
$custom: #31998f; $custom-light: #78b7af; $custom-dark: #000000;
JSON
{
"hex": "#31998f",
"rgb": {
"r": 49,
"g": 153,
"b": 143
},
"hsl": {
"h": 174.231,
"s": 51.485,
"l": 39.608
},
"oklch": {
"l": 0.62181,
"c": 0.09442,
"h": 185.9
},
"luminance": 0.25419
}Semantic roles & 50–950 ramp
primary
#31998F
secondary
#BA6C73
accent
#4D5BDB
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F