#21729D#21729D

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

Color values

HEX#21729D
RGBrgb(33, 114, 157)
HSLhsl(201, 65%, 37%)
HSVhsv(201, 79%, 62%)
CMYKcmyk(79%, 27.4%, 0%, 38.4%)
CIE-LABlab(45.35, -8.62, -30.02)
CIE-LCHlch(45.35, 31.23, 253.98°)
OKLaboklab(52.48% -0.0549 -0.0848)
OKLCHoklch(52.48% 0.101 237.1)
XYZxyz(12.7279, 14.7907, 34.0758)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21729D #9D4C21
analogous
#219D8A #21729D #21349D
triadic
#21729D #9D2172 #729D21
tetradic
#21729D #8A219D #9D4C21 #349D21
square
#21729D #8A219D #9D4C21 #349D21
split-complementary
#21729D #9D2134 #9D8A21
monochromatic
#0C2938 #164D6A #21729D #2C97D0 #5CB0DD

Accessibility & contrast

On white

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

On black

3.96
#21729D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##21729D#FFFFFF#000000##FFFFFF
##21729D1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21729d;
/* rgb */ color: rgb(33, 114, 157);
/* oklch */ color: oklch(52.5% 0.101 237.1);
Tailwind
colors: {
  custom: {
    50: '#709aba',
    500: '#21729d',
    950: '#000000',
  },
}
SCSS
$custom: #21729d;
$custom-light: #709aba;
$custom-dark: #000000;
JSON
{
  "hex": "#21729d",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 157
  },
  "hsl": {
    "h": 200.806,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.52477,
    "c": 0.10104,
    "h": 237.1
  },
  "luminance": 0.14792
}

Semantic roles & 50–950 ramp

primary
#21729D
secondary
#C17D59
accent
#7A40E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #21729D

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

Preview Lab → · Contrast checker → · Palette generator →

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