#21709F#21709F

#21709F is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.1% C 0.105 H 240.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#21709F
RGBrgb(33, 112, 159)
HSLhsl(202, 66%, 38%)
HSVhsv(202, 79%, 62%)
CMYKcmyk(79.2%, 29.6%, 0%, 37.6%)
CIE-LABlab(44.82, -6.69, -32.02)
CIE-LCHlch(44.82, 32.71, 258.20°)
OKLaboklab(52.09% -0.0523 -0.0906)
OKLCHoklch(52.09% 0.105 240)
XYZxyz(12.6769, 14.4133, 34.9081)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21709F #9F5021
analogous
#219F8F #21709F #21319F
triadic
#21709F #9F2170 #709F21
tetradic
#21709F #8F219F #9F5021 #319F21
square
#21709F #8F219F #9F5021 #319F21
split-complementary
#21709F #9F2131 #9F8F21
monochromatic
#0C293A #164C6C #21709F #2C94D2 #5DADDD

Accessibility & contrast

On white

5.41
#21709F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21709F
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21709F#FFFFFF#000000##FFFFFF
##21709F1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21709f;
/* rgb */ color: rgb(33, 112, 159);
/* oklch */ color: oklch(52.1% 0.105 240.0);
Tailwind
colors: {
  custom: {
    50: '#7098bb',
    500: '#21709f',
    950: '#000000',
  },
}
SCSS
$custom: #21709f;
$custom-light: #7098bb;
$custom-dark: #000000;
JSON
{
  "hex": "#21709f",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 159
  },
  "hsl": {
    "h": 202.381,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.5209,
    "c": 0.10466,
    "h": 240
  },
  "luminance": 0.14415
}

Semantic roles & 50–950 ramp

primary
#21709F
secondary
#C2815A
accent
#7E3FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #21709F

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

Preview Lab → · Contrast checker → · Palette generator →

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