#31947C#31947C
#31947C is a mid, moderate teal. Relative luminance 0.233; OKLCH L 60.3% C 0.098 H 173.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #31947C |
|---|---|
| RGB | rgb(49, 148, 124) |
| HSL | hsl(165, 50%, 39%) |
| HSV | hsv(165, 67%, 58%) |
| CMYK | cmyk(66.9%, 0%, 16.2%, 42%) |
| CIE-LAB | lab(55.37, -34.48, 4.38) |
| CIE-LCH | lch(55.37, 34.76, 172.76°) |
| OKLab | oklab(60.29% -0.0976 0.0111) |
| OKLCH | oklch(60.29% 0.098 173.5) |
| XYZ | xyz(15.4928, 23.2863, 22.7431) |
| Luminance | 0.2329 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Teal (survey)
#029386
ΔE00 4.55
Ocean Green
#3D9973
ΔE00 4.74
Blue Green
#0F9B8E
ΔE00 5.14
Dusty Teal
#4C9085
ΔE00 5.55
Viridian
#1E9167
ΔE00 5.74
Grey Teal
#5E9B8A
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31947C #943149
analogous
#31944A #31947C #317A94
triadic
#31947C #7C3194 #947C31
tetradic
#31947C #4A3194 #943149 #7A9431
square
#31947C #4A3194 #943149 #7A9431
split-complementary
#31947C #94317A #944A31
monochromatic
#13382F #226655 #31947C #42C0A2 #70D0B8
Accessibility & contrast
On white
3.71
#31947C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#31947C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31947C
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31947C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31947C | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F8B7B
Deuteranopia (green-blind)
#81807E
Tritanopia (blue-blind)
#00968D
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #31947c; /* rgb */ color: rgb(49, 148, 124); /* oklch */ color: oklch(60.3% 0.098 173.5);
Tailwind
colors: {
custom: {
50: '#76b4a1',
500: '#31947c',
950: '#000000',
},
}SCSS
$custom: #31947c; $custom-light: #76b4a1; $custom-dark: #000000;
JSON
{
"hex": "#31947c",
"rgb": {
"r": 49,
"g": 148,
"b": 124
},
"hsl": {
"h": 165.455,
"s": 50.254,
"l": 38.627
},
"oklch": {
"l": 0.60286,
"c": 0.09823,
"h": 173.5
},
"luminance": 0.23288
}Semantic roles & 50–950 ramp
primary
#31947C
secondary
#B7697C
accent
#4E70DA
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110F
muted
#7B807E