#21729C#21729C

#21729C is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.4% C 0.100 H 236.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#21729C
RGBrgb(33, 114, 156)
HSLhsl(200, 65%, 37%)
HSVhsv(200, 79%, 61%)
CMYKcmyk(78.8%, 26.9%, 0%, 38.8%)
CIE-LABlab(45.30, -8.99, -29.50)
CIE-LCHlch(45.30, 30.84, 253.06°)
OKLaboklab(52.42% -0.0553 -0.0833)
OKLCHoklch(52.42% 0.1 236.4)
XYZxyz(12.6429, 14.7567, 33.6280)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21729C #9C4B21
analogous
#219C89 #21729C #21359C
triadic
#21729C #9C2172 #729C21
tetradic
#21729C #89219C #9C4B21 #359C21
square
#21729C #89219C #9C4B21 #359C21
split-complementary
#21729C #9C2135 #9C8921
monochromatic
#0C2837 #164D69 #21729C #2C97CF #5BB0DC

Accessibility & contrast

On white

5.31
#21729C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#21729C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21729C
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21729C#FFFFFF#000000##FFFFFF
##21729C1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E729E
Deuteranopia (green-blind)
#4D669B
Tritanopia (blue-blind)
#007D80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #21729c;
/* rgb */ color: rgb(33, 114, 156);
/* oklch */ color: oklch(52.4% 0.100 236.4);
Tailwind
colors: {
  custom: {
    50: '#709ab9',
    500: '#21729c',
    950: '#000000',
  },
}
SCSS
$custom: #21729c;
$custom-light: #709ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#21729c",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 156
  },
  "hsl": {
    "h": 200.488,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.52424,
    "c": 0.09998,
    "h": 236.4
  },
  "luminance": 0.14758
}

Semantic roles & 50–950 ramp

primary
#21729C
secondary
#C17C58
accent
#7940E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #21729C

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

Preview Lab → · Contrast checker → · Palette generator →

#21729C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva