#31A2C2#31A2C2
#31A2C2 is a light, moderate cyan. Relative luminance 0.304; OKLCH L 66.4% C 0.108 H 221.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #31A2C2 |
|---|---|
| RGB | rgb(49, 162, 194) |
| HSL | hsl(193, 60%, 48%) |
| HSV | hsv(193, 75%, 76%) |
| CMYK | cmyk(74.7%, 16.5%, 0%, 23.9%) |
| CIE-LAB | lab(61.99, -20.46, -25.43) |
| CIE-LCH | lch(61.99, 32.64, 231.18°) |
| OKLab | oklab(66.4% -0.0813 -0.0711) |
| OKLCH | oklch(66.4% 0.108 221.2) |
| XYZ | xyz(23.9205, 30.3858, 55.6328) |
| Luminance | 0.3039 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Turquoise Blue
#06B1C4
ΔE00 7.11
Greyblue
#77A1B5
ΔE00 7.95
Teal Blue
#01889F
ΔE00 9.59
Cadetblue
#5F9EA0
ΔE00 10.39
Bluegrey
#85A3B2
ΔE00 10.78
Dirty Blue
#3F829D
ΔE00 10.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31A2C2 #C25131
analogous
#31C299 #31A2C2 #315AC2
triadic
#31A2C2 #C231A2 #A2C231
tetradic
#31A2C2 #9931C2 #C25131 #5AC231
square
#31A2C2 #9931C2 #C25131 #5AC231
split-complementary
#31A2C2 #C2315A #C29931
monochromatic
#185060 #257991 #31A2C2 #5BBAD6 #8CCFE2
Accessibility & contrast
On white
2.97
#31A2C2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.08
#31A2C2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31A2C2
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31A2C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31A2C2 | 1.00 | 2.97 | 7.08 | 7.08 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F9EC4
Deuteranopia (green-blind)
#7B90C2
Tritanopia (blue-blind)
#00ACAC
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #31a2c2; /* rgb */ color: rgb(49, 162, 194); /* oklch */ color: oklch(66.4% 0.108 221.2);
Tailwind
colors: {
custom: {
50: '#7ebdd4',
500: '#31a2c2',
950: '#000000',
},
}SCSS
$custom: #31a2c2; $custom-light: #7ebdd4; $custom-dark: #000000;
JSON
{
"hex": "#31a2c2",
"rgb": {
"r": 49,
"g": 162,
"b": 194
},
"hsl": {
"h": 193.241,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.66395,
"c": 0.108,
"h": 221.2
},
"luminance": 0.30389
}Semantic roles & 50–950 ramp
primary
#31A2C2
secondary
#CC9383
accent
#6845E3
background
#F8FBFD
surface
#F0F6FA
border
#CBD0D3
text
#0B1214
muted
#7C8183