#31A2B7#31A2B7
#31A2B7 is a light, moderate teal. Relative luminance 0.299; OKLCH L 65.9% C 0.102 H 212.9°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #31A2B7 |
|---|---|
| RGB | rgb(49, 162, 183) |
| HSL | hsl(189, 58%, 45%) |
| HSV | hsv(189, 73%, 72%) |
| CMYK | cmyk(73.2%, 11.5%, 0%, 28.2%) |
| CIE-LAB | lab(61.58, -24.02, -19.89) |
| CIE-LCH | lch(61.58, 31.19, 219.63°) |
| OKLab | oklab(65.93% -0.0856 -0.0554) |
| OKLCH | oklch(65.93% 0.102 212.9) |
| XYZ | xyz(22.7305, 29.9098, 49.3658) |
| Luminance | 0.2991 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Turquoise Blue
#06B1C4
ΔE00 4.83
Cadetblue
#5F9EA0
ΔE00 7.33
Teal Blue
#01889F
ΔE00 8.94
Greyblue
#77A1B5
ΔE00 9.21
Sea
#3C9992
ΔE00 11.20
Dirty Blue
#3F829D
ΔE00 11.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31A2B7 #B74631
analogous
#31B789 #31A2B7 #315FB7
triadic
#31A2B7 #B731A2 #A2B731
tetradic
#31A2B7 #8931B7 #B74631 #5FB731
square
#31A2B7 #8931B7 #B74631 #5FB731
split-complementary
#31A2B7 #B7315F #B78931
monochromatic
#174D56 #247787 #31A2B7 #54BED1 #84D0DE
Accessibility & contrast
On white
3.01
#31A2B7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#31A2B7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31A2B7
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31A2B7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31A2B7 | 1.00 | 3.01 | 6.98 | 6.98 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#929CB8
Deuteranopia (green-blind)
#808FB7
Tritanopia (blue-blind)
#00AAA8
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #31a2b7; /* rgb */ color: rgb(49, 162, 183); /* oklch */ color: oklch(65.9% 0.102 212.9);
Tailwind
colors: {
custom: {
50: '#7dbdcc',
500: '#31a2b7',
950: '#000000',
},
}SCSS
$custom: #31a2b7; $custom-light: #7dbdcc; $custom-dark: #000000;
JSON
{
"hex": "#31a2b7",
"rgb": {
"r": 49,
"g": 162,
"b": 183
},
"hsl": {
"h": 189.403,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.6593,
"c": 0.102,
"h": 212.9
},
"luminance": 0.29913
}Semantic roles & 50–950 ramp
primary
#31A2B7
secondary
#C8887C
accent
#5F47E1
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1213
muted
#7C8182