#21708E#21708E

#21708E is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.2% C 0.087 H 228.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#21708E
RGBrgb(33, 112, 142)
HSLhsl(197, 62%, 34%)
HSVhsv(197, 77%, 56%)
CMYKcmyk(76.8%, 21.1%, 0%, 44.3%)
CIE-LABlab(44.04, -12.91, -23.16)
CIE-LCHlch(44.04, 26.52, 240.88°)
OKLaboklab(51.21% -0.0585 -0.065)
OKLCHoklch(51.21% 0.087 228)
XYZxyz(11.3019, 13.8633, 27.6662)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21708E #8E3F21
analogous
#218E76 #21708E #21398E
triadic
#21708E #8E2170 #708E21
tetradic
#21708E #76218E #8E3F21 #398E21
square
#21708E #76218E #8E3F21 #398E21
split-complementary
#21708E #8E2139 #8E7621
monochromatic
#0A222B #15495C #21708E #2D97C0 #52B2D7

Accessibility & contrast

On white

5.57
#21708E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#21708E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21708E
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21708E#FFFFFF#000000##FFFFFF
##21708E1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606E8F
Deuteranopia (green-blind)
#52638E
Tritanopia (blue-blind)
#00797A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #21708e;
/* rgb */ color: rgb(33, 112, 142);
/* oklch */ color: oklch(51.2% 0.087 228.0);
Tailwind
colors: {
  custom: {
    50: '#6d99af',
    500: '#21708e',
    950: '#000000',
  },
}
SCSS
$custom: #21708e;
$custom-light: #6d99af;
$custom-dark: #000000;
JSON
{
  "hex": "#21708e",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 142
  },
  "hsl": {
    "h": 196.514,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.51208,
    "c": 0.08745,
    "h": 228
  },
  "luminance": 0.13865
}

Semantic roles & 50–950 ramp

primary
#21708E
secondary
#BA6E50
accent
#6F42E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #21708E

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

Preview Lab → · Contrast checker → · Palette generator →

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