#31A7B5#31A7B5
#31A7B5 is a light, moderate teal. Relative luminance 0.316; OKLCH L 67.1% C 0.102 H 206.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #31A7B5 |
|---|---|
| RGB | rgb(49, 167, 181) |
| HSL | hsl(186, 57%, 45%) |
| HSV | hsv(186, 73%, 71%) |
| CMYK | cmyk(72.9%, 7.7%, 0%, 29%) |
| CIE-LAB | lab(63.03, -27.18, -16.56) |
| CIE-LCH | lch(63.03, 31.83, 211.36°) |
| OKLab | oklab(67.08% -0.0915 -0.046) |
| OKLCH | oklch(67.08% 0.102 206.7) |
| XYZ | xyz(23.4222, 31.6238, 48.5767) |
| Luminance | 0.3163 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Turquoise Blue
#06B1C4
ΔE00 3.26
Cadetblue
#5F9EA0
ΔE00 6.18
Lightseagreen
#20B2AA
ΔE00 9.15
Sea
#3C9992
ΔE00 9.28
Greyblue
#77A1B5
ΔE00 10.81
Teal Blue
#01889F
ΔE00 10.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31A7B5 #B53F31
analogous
#31B581 #31A7B5 #3165B5
triadic
#31A7B5 #B531A7 #A7B531
tetradic
#31A7B5 #8131B5 #B53F31 #65B531
square
#31A7B5 #8131B5 #B53F31 #65B531
split-complementary
#31A7B5 #B53165 #B58131
monochromatic
#174E55 #247B85 #31A7B5 #53C3D0 #83D4DD
Accessibility & contrast
On white
2.87
#31A7B5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.33
#31A7B5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31A7B5
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31A7B5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31A7B5 | 1.00 | 2.87 | 7.33 | 7.33 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99A0B6
Deuteranopia (green-blind)
#8693B5
Tritanopia (blue-blind)
#00AEAB
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #31a7b5; /* rgb */ color: rgb(49, 167, 181); /* oklch */ color: oklch(67.1% 0.102 206.7);
Tailwind
colors: {
custom: {
50: '#7dc1cb',
500: '#31a7b5',
950: '#000000',
},
}SCSS
$custom: #31a7b5; $custom-light: #7dc1cb; $custom-dark: #000000;
JSON
{
"hex": "#31a7b5",
"rgb": {
"r": 49,
"g": 167,
"b": 181
},
"hsl": {
"h": 186.364,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.67081,
"c": 0.10241,
"h": 206.7
},
"luminance": 0.31627
}Semantic roles & 50–950 ramp
primary
#31A7B5
secondary
#C7837B
accent
#5747E1
background
#F8FBFC
surface
#EFF7F8
border
#CAD0D1
text
#0B1213
muted
#7C8182