#21A5C2#21A5C2
#21A5C2 is a light, moderate cyan. Relative luminance 0.311; OKLCH L 66.8% C 0.113 H 217.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #21A5C2 |
|---|---|
| RGB | rgb(33, 165, 194) |
| HSL | hsl(191, 71%, 45%) |
| HSV | hsv(191, 83%, 76%) |
| CMYK | cmyk(83%, 14.9%, 0%, 23.9%) |
| CIE-LAB | lab(62.61, -23.63, -24.49) |
| CIE-LCH | lch(62.61, 34.03, 226.02°) |
| OKLab | oklab(66.82% -0.0898 -0.0685) |
| OKLCH | oklch(66.82% 0.113 217.3) |
| XYZ | xyz(23.8158, 31.1256, 55.7811) |
| Luminance | 0.3113 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Turquoise Blue
#06B1C4
ΔE00 5.32
Greyblue
#77A1B5
ΔE00 8.96
Cadetblue
#5F9EA0
ΔE00 9.66
Teal Blue
#01889F
ΔE00 9.88
Deepskyblue
#00BFFF
ΔE00 11.51
Bluegrey
#85A3B2
ΔE00 11.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21A5C2 #C23E21
analogous
#21C28E #21A5C2 #2155C2
triadic
#21A5C2 #C221A5 #A5C221
tetradic
#21A5C2 #8E21C2 #C23E21 #55C221
square
#21A5C2 #8E21C2 #C23E21 #55C221
split-complementary
#21A5C2 #C22155 #C28E21
monochromatic
#0F4C59 #18798E #21A5C2 #41C2DF #76D3E8
Accessibility & contrast
On white
2.91
#21A5C2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#21A5C2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #21A5C2
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21A5C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##21A5C2 | 1.00 | 2.91 | 7.23 | 7.23 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92A0C4
Deuteranopia (green-blind)
#7D91C2
Tritanopia (blue-blind)
#00AFAE
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #21a5c2; /* rgb */ color: rgb(33, 165, 194); /* oklch */ color: oklch(66.8% 0.113 217.3);
Tailwind
colors: {
custom: {
50: '#7ac0d4',
500: '#21a5c2',
950: '#000000',
},
}SCSS
$custom: #21a5c2; $custom-light: #7ac0d4; $custom-dark: #000000;
JSON
{
"hex": "#21a5c2",
"rgb": {
"r": 33,
"g": 165,
"b": 194
},
"hsl": {
"h": 190.807,
"s": 70.925,
"l": 44.51
},
"oklch": {
"l": 0.6682,
"c": 0.11295,
"h": 217.3
},
"luminance": 0.31129
}Semantic roles & 50–950 ramp
primary
#21A5C2
secondary
#CF8170
accent
#5A3AEE
background
#F8FBFD
surface
#EFF7FA
border
#CAD0D3
text
#0B1214
muted
#7C8183