#21729F#21729F

#21729F is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.6% C 0.103 H 238.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#21729F
RGBrgb(33, 114, 159)
HSLhsl(201, 66%, 38%)
HSVhsv(201, 79%, 62%)
CMYKcmyk(79.2%, 28.3%, 0%, 37.6%)
CIE-LABlab(45.44, -7.88, -31.05)
CIE-LCHlch(45.44, 32.03, 255.76°)
OKLaboklab(52.58% -0.0543 -0.0878)
OKLCHoklch(52.58% 0.103 238.3)
XYZxyz(12.9000, 14.8596, 34.9825)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21729F #9F4E21
analogous
#219F8D #21729F #21339F
triadic
#21729F #9F2172 #729F21
tetradic
#21729F #8D219F #9F4E21 #339F21
square
#21729F #8D219F #9F4E21 #339F21
split-complementary
#21729F #9F2133 #9F8D21
monochromatic
#0C293A #164E6C #21729F #2C96D2 #5DB0DD

Accessibility & contrast

On white

5.29
#21729F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21729F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21729F#FFFFFF#000000##FFFFFF
##21729F1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D72A1
Deuteranopia (green-blind)
#4C669E
Tritanopia (blue-blind)
#007D82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #21729f;
/* rgb */ color: rgb(33, 114, 159);
/* oklch */ color: oklch(52.6% 0.103 238.3);
Tailwind
colors: {
  custom: {
    50: '#709abb',
    500: '#21729f',
    950: '#000000',
  },
}
SCSS
$custom: #21729f;
$custom-light: #709abb;
$custom-dark: #000000;
JSON
{
  "hex": "#21729f",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 159
  },
  "hsl": {
    "h": 201.429,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.52583,
    "c": 0.1032,
    "h": 238.3
  },
  "luminance": 0.14861
}

Semantic roles & 50–950 ramp

primary
#21729F
secondary
#C27F5A
accent
#7C3FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #21729F

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

Preview Lab → · Contrast checker → · Palette generator →

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