#21709E#21709E

#21709E is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.0% C 0.104 H 239.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#21709E
RGBrgb(33, 112, 158)
HSLhsl(202, 65%, 37%)
HSVhsv(202, 79%, 62%)
CMYKcmyk(79.1%, 29.1%, 0%, 38%)
CIE-LABlab(44.77, -7.06, -31.51)
CIE-LCHlch(44.77, 32.29, 257.36°)
OKLaboklab(52.04% -0.0527 -0.0891)
OKLCHoklch(52.04% 0.104 239.4)
XYZxyz(12.5905, 14.3788, 34.4529)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21709E #9E4F21
analogous
#219E8E #21709E #21329E
triadic
#21709E #9E2170 #709E21
tetradic
#21709E #8E219E #9E4F21 #329E21
square
#21709E #8E219E #9E4F21 #329E21
split-complementary
#21709E #9E2132 #9E8E21
monochromatic
#0C2839 #164C6B #21709E #2C94D1 #5CAEDD

Accessibility & contrast

On white

5.42
#21709E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#21709E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21709E
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21709E#FFFFFF#000000##FFFFFF
##21709E1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A70A0
Deuteranopia (green-blind)
#49659D
Tritanopia (blue-blind)
#007C80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21709e;
/* rgb */ color: rgb(33, 112, 158);
/* oklch */ color: oklch(52.0% 0.104 239.4);
Tailwind
colors: {
  custom: {
    50: '#7098bb',
    500: '#21709e',
    950: '#000000',
  },
}
SCSS
$custom: #21709e;
$custom-light: #7098bb;
$custom-dark: #000000;
JSON
{
  "hex": "#21709e",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 158
  },
  "hsl": {
    "h": 202.08,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.52036,
    "c": 0.10354,
    "h": 239.4
  },
  "luminance": 0.1438
}

Semantic roles & 50–950 ramp

primary
#21709E
secondary
#C18059
accent
#7E3FE8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #21709E

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

Preview Lab → · Contrast checker → · Palette generator →

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