#31A7B7#31A7B7
#31A7B7 is a light, moderate teal. Relative luminance 0.317; OKLCH L 67.2% C 0.103 H 208.3°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #31A7B7 |
|---|---|
| RGB | rgb(49, 167, 183) |
| HSL | hsl(187, 58%, 45%) |
| HSV | hsv(187, 73%, 72%) |
| CMYK | cmyk(73.2%, 8.7%, 0%, 28.2%) |
| CIE-LAB | lab(63.10, -26.55, -17.58) |
| CIE-LCH | lch(63.10, 31.84, 213.50°) |
| OKLab | oklab(67.16% -0.0906 -0.0489) |
| OKLCH | oklch(67.16% 0.103 208.3) |
| XYZ | xyz(23.6289, 31.7065, 49.6652) |
| Luminance | 0.3171 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Turquoise Blue
#06B1C4
ΔE00 3.10
Cadetblue
#5F9EA0
ΔE00 6.54
Lightseagreen
#20B2AA
ΔE00 9.87
Sea
#3C9992
ΔE00 9.94
Greyblue
#77A1B5
ΔE00 10.37
Teal Blue
#01889F
ΔE00 10.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31A7B7 #B74131
analogous
#31B784 #31A7B7 #3164B7
triadic
#31A7B7 #B731A7 #A7B731
tetradic
#31A7B7 #8431B7 #B74131 #64B731
square
#31A7B7 #8431B7 #B74131 #64B731
split-complementary
#31A7B7 #B73164 #B78431
monochromatic
#174F56 #247B87 #31A7B7 #54C2D1 #84D3DE
Accessibility & contrast
On white
2.86
#31A7B7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#31A7B7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31A7B7
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31A7B7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31A7B7 | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98A1B8
Deuteranopia (green-blind)
#8593B7
Tritanopia (blue-blind)
#00AFAC
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #31a7b7; /* rgb */ color: rgb(49, 167, 183); /* oklch */ color: oklch(67.2% 0.103 208.3);
Tailwind
colors: {
custom: {
50: '#7dc1cc',
500: '#31a7b7',
950: '#000000',
},
}SCSS
$custom: #31a7b7; $custom-light: #7dc1cc; $custom-dark: #000000;
JSON
{
"hex": "#31a7b7",
"rgb": {
"r": 49,
"g": 167,
"b": 183
},
"hsl": {
"h": 187.164,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.67159,
"c": 0.10298,
"h": 208.3
},
"luminance": 0.31709
}Semantic roles & 50–950 ramp
primary
#31A7B7
secondary
#C8857C
accent
#5947E1
background
#F8FBFC
surface
#EFF7F8
border
#CAD0D1
text
#0B1213
muted
#7C8182