#31A7C2#31A7C2
#31A7C2 is a light, moderate cyan. Relative luminance 0.322; OKLCH L 67.6% C 0.108 H 216.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #31A7C2 |
|---|---|
| RGB | rgb(49, 167, 194) |
| HSL | hsl(191, 60%, 48%) |
| HSV | hsv(191, 75%, 76%) |
| CMYK | cmyk(74.7%, 13.9%, 0%, 23.9%) |
| CIE-LAB | lab(63.49, -23.06, -23.12) |
| CIE-LCH | lch(63.49, 32.65, 225.07°) |
| OKLab | oklab(67.61% -0.0861 -0.0645) |
| OKLCH | oklch(67.61% 0.108 216.8) |
| XYZ | xyz(24.8188, 32.1825, 55.9323) |
| Luminance | 0.3219 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Turquoise Blue
#06B1C4
ΔE00 4.79
Greyblue
#77A1B5
ΔE00 8.57
Cadetblue
#5F9EA0
ΔE00 9.19
Teal Blue
#01889F
ΔE00 10.52
Bluegrey
#85A3B2
ΔE00 11.15
Bright Sky Blue
#02CCFE
ΔE00 11.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31A7C2 #C24C31
analogous
#31C294 #31A7C2 #315FC2
triadic
#31A7C2 #C231A7 #A7C231
tetradic
#31A7C2 #9431C2 #C24C31 #5FC231
square
#31A7C2 #9431C2 #C24C31 #5FC231
split-complementary
#31A7C2 #C2315F #C29431
monochromatic
#185360 #257D91 #31A7C2 #5BBFD6 #8CD2E2
Accessibility & contrast
On white
2.82
#31A7C2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.44
#31A7C2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31A7C2
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31A7C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31A7C2 | 1.00 | 2.82 | 7.44 | 7.44 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95A2C3
Deuteranopia (green-blind)
#8194C2
Tritanopia (blue-blind)
#00B1AF
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #31a7c2; /* rgb */ color: rgb(49, 167, 194); /* oklch */ color: oklch(67.6% 0.108 216.8);
Tailwind
colors: {
custom: {
50: '#7fc1d4',
500: '#31a7c2',
950: '#000000',
},
}SCSS
$custom: #31a7c2; $custom-light: #7fc1d4; $custom-dark: #000000;
JSON
{
"hex": "#31a7c2",
"rgb": {
"r": 49,
"g": 167,
"b": 194
},
"hsl": {
"h": 191.172,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.67607,
"c": 0.10764,
"h": 216.8
},
"luminance": 0.32185
}Semantic roles & 50–950 ramp
primary
#31A7C2
secondary
#CC9083
accent
#6245E3
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183