#21709D#21709D

#21709D is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 52.0% C 0.102 H 238.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#21709D
RGBrgb(33, 112, 157)
HSLhsl(202, 65%, 37%)
HSVhsv(202, 79%, 62%)
CMYKcmyk(79%, 28.7%, 0%, 38.4%)
CIE-LABlab(44.72, -7.44, -30.99)
CIE-LCHlch(44.72, 31.87, 256.51°)
OKLaboklab(51.98% -0.053 -0.0876)
OKLCHoklch(51.98% 0.102 238.8)
XYZxyz(12.5048, 14.3445, 34.0015)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21709D #9D4E21
analogous
#219D8C #21709D #21329D
triadic
#21709D #9D2170 #709D21
tetradic
#21709D #8C219D #9D4E21 #329D21
square
#21709D #8C219D #9D4E21 #329D21
split-complementary
#21709D #9D2132 #9D8C21
monochromatic
#0C2838 #164C6A #21709D #2C94D0 #5CAEDD

Accessibility & contrast

On white

5.43
#21709D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#21709D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21709D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21709D#FFFFFF#000000##FFFFFF
##21709D1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B709F
Deuteranopia (green-blind)
#4A659C
Tritanopia (blue-blind)
#007B80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21709d;
/* rgb */ color: rgb(33, 112, 157);
/* oklch */ color: oklch(52.0% 0.102 238.8);
Tailwind
colors: {
  custom: {
    50: '#7098ba',
    500: '#21709d',
    950: '#000000',
  },
}
SCSS
$custom: #21709d;
$custom-light: #7098ba;
$custom-dark: #000000;
JSON
{
  "hex": "#21709d",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 157
  },
  "hsl": {
    "h": 201.774,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.51981,
    "c": 0.10243,
    "h": 238.8
  },
  "luminance": 0.14346
}

Semantic roles & 50–950 ramp

primary
#21709D
secondary
#C17F59
accent
#7D40E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #21709D

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

Preview Lab → · Contrast checker → · Palette generator →

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