#21719D#21719D

#21719D is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.2% C 0.102 H 238.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#21719D
RGBrgb(33, 113, 157)
HSLhsl(201, 65%, 37%)
HSVhsv(201, 79%, 62%)
CMYKcmyk(79%, 28%, 0%, 38.4%)
CIE-LABlab(45.03, -8.03, -30.51)
CIE-LCHlch(45.03, 31.54, 255.26°)
OKLaboklab(52.23% -0.054 -0.0862)
OKLCHoklch(52.23% 0.102 238)
XYZxyz(12.6157, 14.5664, 34.0384)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21719D #9D4D21
analogous
#219D8B #21719D #21339D
triadic
#21719D #9D2171 #719D21
tetradic
#21719D #8B219D #9D4D21 #339D21
square
#21719D #8B219D #9D4D21 #339D21
split-complementary
#21719D #9D2133 #9D8B21
monochromatic
#0C2838 #164D6A #21719D #2C95D0 #5CAFDD

Accessibility & contrast

On white

5.37
#21719D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#21719D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21719D
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21719D#FFFFFF#000000##FFFFFF
##21719D1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C719F
Deuteranopia (green-blind)
#4B659C
Tritanopia (blue-blind)
#007C80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #21719d;
/* rgb */ color: rgb(33, 113, 157);
/* oklch */ color: oklch(52.2% 0.102 238.0);
Tailwind
colors: {
  custom: {
    50: '#7099ba',
    500: '#21719d',
    950: '#000000',
  },
}
SCSS
$custom: #21719d;
$custom-light: #7099ba;
$custom-dark: #000000;
JSON
{
  "hex": "#21719d",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 157
  },
  "hsl": {
    "h": 201.29,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.52229,
    "c": 0.10172,
    "h": 238
  },
  "luminance": 0.14568
}

Semantic roles & 50–950 ramp

primary
#21719D
secondary
#C17E59
accent
#7B40E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #21719D

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

Preview Lab → · Contrast checker → · Palette generator →

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