#31A8B2#31A8B2
#31A8B2 is a light, moderate teal. Relative luminance 0.319; OKLCH L 67.2% C 0.102 H 203.3°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #31A8B2 |
|---|---|
| RGB | rgb(49, 168, 178) |
| HSL | hsl(185, 57%, 45%) |
| HSV | hsv(185, 72%, 70%) |
| CMYK | cmyk(72.5%, 5.6%, 0%, 30.2%) |
| CIE-LAB | lab(63.24, -28.60, -14.57) |
| CIE-LCH | lch(63.24, 32.10, 207.01°) |
| OKLab | oklab(67.21% -0.0938 -0.0405) |
| OKLCH | oklch(67.21% 0.102 203.3) |
| XYZ | xyz(23.3016, 31.8698, 47.0343) |
| Luminance | 0.3187 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Turquoise Blue
#06B1C4
ΔE00 3.83
Cadetblue
#5F9EA0
ΔE00 5.80
Lightseagreen
#20B2AA
ΔE00 7.60
Sea
#3C9992
ΔE00 8.15
Topaz
#13BBAF
ΔE00 9.92
Blue Green
#0F9B8E
ΔE00 10.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31A8B2 #B23B31
analogous
#31B27C #31A8B2 #3168B2
triadic
#31A8B2 #B231A8 #A8B231
tetradic
#31A8B2 #7C31B2 #B23B31 #68B231
square
#31A8B2 #7C31B2 #B23B31 #68B231
split-complementary
#31A8B2 #B23168 #B27C31
monochromatic
#174D52 #247B82 #31A8B2 #51C5CF #81D5DC
Accessibility & contrast
On white
2.85
#31A8B2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.37
#31A8B2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31A8B2
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31A8B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31A8B2 | 1.00 | 2.85 | 7.37 | 7.37 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9BA1B3
Deuteranopia (green-blind)
#8893B2
Tritanopia (blue-blind)
#00AFAB
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #31a8b2; /* rgb */ color: rgb(49, 168, 178); /* oklch */ color: oklch(67.2% 0.102 203.3);
Tailwind
colors: {
custom: {
50: '#7dc2c9',
500: '#31a8b2',
950: '#000000',
},
}SCSS
$custom: #31a8b2; $custom-light: #7dc2c9; $custom-dark: #000000;
JSON
{
"hex": "#31a8b2",
"rgb": {
"r": 49,
"g": 168,
"b": 178
},
"hsl": {
"h": 184.651,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.67212,
"c": 0.10213,
"h": 203.3
},
"luminance": 0.31873
}Semantic roles & 50–950 ramp
primary
#31A8B2
secondary
#C57F79
accent
#5448E0
background
#F8FBFC
surface
#EFF7F8
border
#CAD0D1
text
#0B1213
muted
#7C8182