#31A3B8#31A3B8
#31A3B8 is a light, moderate teal. Relative luminance 0.303; OKLCH L 66.2% C 0.103 H 212.8°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #31A3B8 |
|---|---|
| RGB | rgb(49, 163, 184) |
| HSL | hsl(189, 58%, 46%) |
| HSV | hsv(189, 73%, 72%) |
| CMYK | cmyk(73.4%, 11.4%, 0%, 27.8%) |
| CIE-LAB | lab(61.92, -24.22, -19.94) |
| CIE-LCH | lch(61.92, 31.37, 219.46°) |
| OKLab | oklab(66.22% -0.0862 -0.0555) |
| OKLCH | oklch(66.22% 0.103 212.8) |
| XYZ | xyz(23.0118, 30.3053, 49.9748) |
| Luminance | 0.3031 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Turquoise Blue
#06B1C4
ΔE00 4.54
Cadetblue
#5F9EA0
ΔE00 7.37
Greyblue
#77A1B5
ΔE00 9.23
Teal Blue
#01889F
ΔE00 9.24
Sea
#3C9992
ΔE00 11.26
Bluegrey
#85A3B2
ΔE00 11.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31A3B8 #B84631
analogous
#31B889 #31A3B8 #3160B8
triadic
#31A3B8 #B831A3 #A3B831
tetradic
#31A3B8 #8931B8 #B84631 #60B831
square
#31A3B8 #8931B8 #B84631 #60B831
split-complementary
#31A3B8 #B83160 #B88931
monochromatic
#174D57 #247888 #31A3B8 #55BED2 #85D1DE
Accessibility & contrast
On white
2.97
#31A3B8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#31A3B8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31A3B8
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31A3B8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31A3B8 | 1.00 | 2.97 | 7.06 | 7.06 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#939DB9
Deuteranopia (green-blind)
#8090B8
Tritanopia (blue-blind)
#00ABA9
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #31a3b8; /* rgb */ color: rgb(49, 163, 184); /* oklch */ color: oklch(66.2% 0.103 212.8);
Tailwind
colors: {
custom: {
50: '#7dbecd',
500: '#31a3b8',
950: '#000000',
},
}SCSS
$custom: #31a3b8; $custom-light: #7dbecd; $custom-dark: #000000;
JSON
{
"hex": "#31a3b8",
"rgb": {
"r": 49,
"g": 163,
"b": 184
},
"hsl": {
"h": 189.333,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.66217,
"c": 0.10256,
"h": 212.8
},
"luminance": 0.30308
}Semantic roles & 50–950 ramp
primary
#31A3B8
secondary
#C8897D
accent
#5F47E1
background
#F8FBFC
surface
#EFF7F9
border
#CAD0D2
text
#0B1213
muted
#7C8182