#21A7C2#21A7C2

#21A7C2 is a light, moderate cyan. Relative luminance 0.319; OKLCH L 67.3% C 0.113 H 215.7°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#21A7C2
RGBrgb(33, 167, 194)
HSLhsl(190, 71%, 45%)
HSVhsv(190, 83%, 76%)
CMYKcmyk(83%, 13.9%, 0%, 23.9%)
CIE-LABlab(63.22, -24.66, -23.56)
CIE-LCHlch(63.22, 34.10, 223.70°)
OKLaboklab(67.31% -0.0917 -0.0659)
OKLCHoklch(67.31% 0.113 215.7)
XYZxyz(24.1793, 31.8527, 55.9023)
Luminance0.3186 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A7C2 #C23C21
analogous
#21C28D #21A7C2 #2157C2
triadic
#21A7C2 #C221A7 #A7C221
tetradic
#21A7C2 #8D21C2 #C23C21 #57C221
square
#21A7C2 #8D21C2 #C23C21 #57C221
split-complementary
#21A7C2 #C22157 #C28D21
monochromatic
#0F4D59 #187A8E #21A7C2 #41C4DF #76D5E8

Accessibility & contrast

On white

2.85
#21A7C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#21A7C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21A7C2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A7C2#FFFFFF#000000##000000
##21A7C21.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A2C4
Deuteranopia (green-blind)
#8093C2
Tritanopia (blue-blind)
#00B1AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #21a7c2;
/* rgb */ color: rgb(33, 167, 194);
/* oklch */ color: oklch(67.3% 0.113 215.7);
Tailwind
colors: {
  custom: {
    50: '#7ac1d4',
    500: '#21a7c2',
    950: '#000000',
  },
}
SCSS
$custom: #21a7c2;
$custom-light: #7ac1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#21a7c2",
  "rgb": {
    "r": 33,
    "g": 167,
    "b": 194
  },
  "hsl": {
    "h": 190.062,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67309,
    "c": 0.11288,
    "h": 215.7
  },
  "luminance": 0.31856
}

Semantic roles & 50–950 ramp

primary
#21A7C2
secondary
#CF8070
accent
#583AEE
background
#F8FBFD
surface
#EFF7FA
border
#CAD0D3
text
#0B1214
muted
#7C8183

Preview Lab

Preview with #21A7C2

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

Preview Lab → · Contrast checker → · Palette generator →

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