#21729E#21729E

#21729E is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.5% C 0.102 H 237.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#21729E
RGBrgb(33, 114, 158)
HSLhsl(201, 65%, 37%)
HSVhsv(201, 79%, 62%)
CMYKcmyk(79.1%, 27.8%, 0%, 38%)
CIE-LABlab(45.39, -8.25, -30.53)
CIE-LCHlch(45.39, 31.63, 254.88°)
OKLaboklab(52.53% -0.0546 -0.0863)
OKLCHoklch(52.53% 0.102 237.7)
XYZxyz(12.8136, 14.8250, 34.5273)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21729E #9E4D21
analogous
#219E8C #21729E #21349E
triadic
#21729E #9E2172 #729E21
tetradic
#21729E #8C219E #9E4D21 #349E21
square
#21729E #8C219E #9E4D21 #349E21
split-complementary
#21729E #9E2134 #9E8C21
monochromatic
#0C2939 #164D6B #21729E #2C97D1 #5CB0DD

Accessibility & contrast

On white

5.30
#21729E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#21729E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21729E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21729E#FFFFFF#000000##FFFFFF
##21729E1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D72A0
Deuteranopia (green-blind)
#4C669D
Tritanopia (blue-blind)
#007D81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #21729e;
/* rgb */ color: rgb(33, 114, 158);
/* oklch */ color: oklch(52.5% 0.102 237.7);
Tailwind
colors: {
  custom: {
    50: '#709abb',
    500: '#21729e',
    950: '#000000',
  },
}
SCSS
$custom: #21729e;
$custom-light: #709abb;
$custom-dark: #000000;
JSON
{
  "hex": "#21729e",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 158
  },
  "hsl": {
    "h": 201.12,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.5253,
    "c": 0.10212,
    "h": 237.7
  },
  "luminance": 0.14827
}

Semantic roles & 50–950 ramp

primary
#21729E
secondary
#C17E59
accent
#7B3FE8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #21729E

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

Preview Lab → · Contrast checker → · Palette generator →

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