#21719E#21719E

#21719E is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.3% C 0.103 H 238.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#21719E
RGBrgb(33, 113, 158)
HSLhsl(202, 65%, 37%)
HSVhsv(202, 79%, 62%)
CMYKcmyk(79.1%, 28.5%, 0%, 38%)
CIE-LABlab(45.08, -7.66, -31.02)
CIE-LCHlch(45.08, 31.95, 256.13°)
OKLaboklab(52.28% -0.0536 -0.0877)
OKLCHoklch(52.28% 0.103 238.6)
XYZxyz(12.7014, 14.6007, 34.4899)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21719E #9E4E21
analogous
#219E8D #21719E #21339E
triadic
#21719E #9E2171 #719E21
tetradic
#21719E #8D219E #9E4E21 #339E21
square
#21719E #8D219E #9E4E21 #339E21
split-complementary
#21719E #9E2133 #9E8D21
monochromatic
#0C2939 #164D6B #21719E #2C95D1 #5CAFDD

Accessibility & contrast

On white

5.36
#21719E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#21719E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21719E
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21719E#FFFFFF#000000##FFFFFF
##21719E1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C71A0
Deuteranopia (green-blind)
#4B669D
Tritanopia (blue-blind)
#007C81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #21719e;
/* rgb */ color: rgb(33, 113, 158);
/* oklch */ color: oklch(52.3% 0.103 238.6);
Tailwind
colors: {
  custom: {
    50: '#7099bb',
    500: '#21719e',
    950: '#000000',
  },
}
SCSS
$custom: #21719e;
$custom-light: #7099bb;
$custom-dark: #000000;
JSON
{
  "hex": "#21719e",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 158
  },
  "hsl": {
    "h": 201.6,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.52283,
    "c": 0.10282,
    "h": 238.6
  },
  "luminance": 0.14602
}

Semantic roles & 50–950 ramp

primary
#21719E
secondary
#C17F59
accent
#7C3FE8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #21719E

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

Preview Lab → · Contrast checker → · Palette generator →

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