#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
RGBrgb(33, 165, 194)
HSLhsl(191, 71%, 45%)
HSVhsv(191, 83%, 76%)
CMYKcmyk(83%, 14.9%, 0%, 23.9%)
CIE-LABlab(62.61, -23.63, -24.49)
CIE-LCHlch(62.61, 34.03, 226.02°)
OKLaboklab(66.82% -0.0898 -0.0685)
OKLCHoklch(66.82% 0.113 217.3)
XYZxyz(23.8158, 31.1256, 55.7811)
Luminance0.3113 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

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
##21A5C21.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.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

Preview Lab

Preview with #21A5C2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#21A5C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva