#31A5B5#31A5B5
#31A5B5 is a light, moderate teal. Relative luminance 0.309; OKLCH L 66.6% C 0.102 H 208.5°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #31A5B5 |
|---|---|
| RGB | rgb(49, 165, 181) |
| HSL | hsl(187, 57%, 45%) |
| HSV | hsv(187, 73%, 71%) |
| CMYK | cmyk(72.9%, 8.8%, 0%, 29%) |
| CIE-LAB | lab(62.42, -26.18, -17.49) |
| CIE-LCH | lch(62.42, 31.48, 213.75°) |
| OKLab | oklab(66.59% -0.0895 -0.0486) |
| OKLCH | oklch(66.59% 0.102 208.5) |
| XYZ | xyz(23.0586, 30.8967, 48.4555) |
| Luminance | 0.3090 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Turquoise Blue
#06B1C4
ΔE00 3.66
Cadetblue
#5F9EA0
ΔE00 6.34
Sea
#3C9992
ΔE00 9.72
Teal Blue
#01889F
ΔE00 10.09
Lightseagreen
#20B2AA
ΔE00 10.10
Greyblue
#77A1B5
ΔE00 10.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31A5B5 #B54131
analogous
#31B583 #31A5B5 #3163B5
triadic
#31A5B5 #B531A5 #A5B531
tetradic
#31A5B5 #8331B5 #B54131 #63B531
square
#31A5B5 #8331B5 #B54131 #63B531
split-complementary
#31A5B5 #B53163 #B58331
monochromatic
#174D55 #247985 #31A5B5 #53C1D0 #83D2DD
Accessibility & contrast
On white
2.92
#31A5B5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#31A5B5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31A5B5
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31A5B5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31A5B5 | 1.00 | 2.92 | 7.18 | 7.18 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#969FB6
Deuteranopia (green-blind)
#8491B5
Tritanopia (blue-blind)
#00ADAA
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #31a5b5; /* rgb */ color: rgb(49, 165, 181); /* oklch */ color: oklch(66.6% 0.102 208.5);
Tailwind
colors: {
custom: {
50: '#7dc0cb',
500: '#31a5b5',
950: '#000000',
},
}SCSS
$custom: #31a5b5; $custom-light: #7dc0cb; $custom-dark: #000000;
JSON
{
"hex": "#31a5b5",
"rgb": {
"r": 49,
"g": 165,
"b": 181
},
"hsl": {
"h": 187.273,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.66588,
"c": 0.10184,
"h": 208.5
},
"luminance": 0.30899
}Semantic roles & 50–950 ramp
primary
#31A5B5
secondary
#C7847B
accent
#5A47E1
background
#F8FBFC
surface
#EFF7F8
border
#CAD0D1
text
#0B1213
muted
#7C8182