#31A5C4#31A5C4
#31A5C4 is a light, moderate cyan. Relative luminance 0.315; OKLCH L 67.2% C 0.109 H 220.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #31A5C4 |
|---|---|
| RGB | rgb(49, 165, 196) |
| HSL | hsl(193, 60%, 48%) |
| HSV | hsv(193, 75%, 77%) |
| CMYK | cmyk(75%, 15.8%, 0%, 23.1%) |
| CIE-LAB | lab(62.97, -21.38, -25.04) |
| CIE-LCH | lch(62.97, 32.93, 229.52°) |
| OKLab | oklab(67.21% -0.0834 -0.07) |
| OKLCH | oklch(67.21% 0.109 220) |
| XYZ | xyz(24.6814, 31.5458, 57.0020) |
| Luminance | 0.3155 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Turquoise Blue
#06B1C4
ΔE00 6.24
Greyblue
#77A1B5
ΔE00 8.11
Cadetblue
#5F9EA0
ΔE00 10.18
Teal Blue
#01889F
ΔE00 10.28
Deepskyblue
#00BFFF
ΔE00 10.64
Bluegrey
#85A3B2
ΔE00 10.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31A5C4 #C45031
analogous
#31C499 #31A5C4 #315BC4
triadic
#31A5C4 #C431A5 #A5C431
tetradic
#31A5C4 #9931C4 #C45031 #5BC431
square
#31A5C4 #9931C4 #C45031 #5BC431
split-complementary
#31A5C4 #C4315B #C49931
monochromatic
#195362 #257C93 #31A5C4 #5CBCD6 #8DD0E2
Accessibility & contrast
On white
2.87
#31A5C4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.31
#31A5C4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31A5C4
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31A5C4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31A5C4 | 1.00 | 2.87 | 7.31 | 7.31 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92A1C6
Deuteranopia (green-blind)
#7E92C4
Tritanopia (blue-blind)
#00AFAF
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #31a5c4; /* rgb */ color: rgb(49, 165, 196); /* oklch */ color: oklch(67.2% 0.109 220.0);
Tailwind
colors: {
custom: {
50: '#7fc0d6',
500: '#31a5c4',
950: '#000000',
},
}SCSS
$custom: #31a5c4; $custom-light: #7fc0d6; $custom-dark: #000000;
JSON
{
"hex": "#31a5c4",
"rgb": {
"r": 49,
"g": 165,
"b": 196
},
"hsl": {
"h": 192.653,
"s": 60,
"l": 48.039
},
"oklch": {
"l": 0.67208,
"c": 0.1089,
"h": 220
},
"luminance": 0.31549
}Semantic roles & 50–950 ramp
primary
#31A5C4
secondary
#CD9384
accent
#6645E3
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183