#31A7B8#31A7B8
#31A7B8 is a light, moderate teal. Relative luminance 0.318; OKLCH L 67.2% C 0.103 H 209.1°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #31A7B8 |
|---|---|
| RGB | rgb(49, 167, 184) |
| HSL | hsl(188, 58%, 46%) |
| HSV | hsv(188, 73%, 72%) |
| CMYK | cmyk(73.4%, 9.2%, 0%, 27.8%) |
| CIE-LAB | lab(63.13, -26.24, -18.08) |
| CIE-LCH | lch(63.13, 31.87, 214.57°) |
| OKLab | oklab(67.2% -0.0902 -0.0503) |
| OKLCH | oklch(67.2% 0.103 209.1) |
| XYZ | xyz(23.7333, 31.7483, 50.2153) |
| Luminance | 0.3175 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Turquoise Blue
#06B1C4
ΔE00 3.09
Cadetblue
#5F9EA0
ΔE00 6.74
Greyblue
#77A1B5
ΔE00 10.17
Lightseagreen
#20B2AA
ΔE00 10.22
Sea
#3C9992
ΔE00 10.27
Teal Blue
#01889F
ΔE00 10.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31A7B8 #B84231
analogous
#31B886 #31A7B8 #3163B8
triadic
#31A7B8 #B831A7 #A7B831
tetradic
#31A7B8 #8631B8 #B84231 #63B831
square
#31A7B8 #8631B8 #B84231 #63B831
split-complementary
#31A7B8 #B83163 #B88631
monochromatic
#174F57 #247B88 #31A7B8 #55C2D2 #85D3DE
Accessibility & contrast
On white
2.86
#31A7B8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#31A7B8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31A7B8
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31A7B8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31A7B8 | 1.00 | 2.86 | 7.35 | 7.35 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98A1B9
Deuteranopia (green-blind)
#8593B8
Tritanopia (blue-blind)
#00AFAC
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #31a7b8; /* rgb */ color: rgb(49, 167, 184); /* oklch */ color: oklch(67.2% 0.103 209.1);
Tailwind
colors: {
custom: {
50: '#7ec1cd',
500: '#31a7b8',
950: '#000000',
},
}SCSS
$custom: #31a7b8; $custom-light: #7ec1cd; $custom-dark: #000000;
JSON
{
"hex": "#31a7b8",
"rgb": {
"r": 49,
"g": 167,
"b": 184
},
"hsl": {
"h": 187.556,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.67199,
"c": 0.1033,
"h": 209.1
},
"luminance": 0.31751
}Semantic roles & 50–950 ramp
primary
#31A7B8
secondary
#C8867D
accent
#5A47E1
background
#F8FBFC
surface
#EFF7F9
border
#CAD0D2
text
#0B1213
muted
#7C8182