#21708B#21708B

#21708B is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.1% C 0.085 H 225.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#21708B
RGBrgb(33, 112, 139)
HSLhsl(195, 62%, 34%)
HSVhsv(195, 76%, 55%)
CMYKcmyk(76.3%, 19.4%, 0%, 45.5%)
CIE-LABlab(43.91, -13.97, -21.57)
CIE-LCHlch(43.91, 25.70, 237.07°)
OKLaboklab(51.06% -0.0596 -0.0605)
OKLCHoklch(51.06% 0.085 225.4)
XYZxyz(11.0797, 13.7744, 26.4959)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21708B #8B3C21
analogous
#218B71 #21708B #213B8B
triadic
#21708B #8B2170 #708B21
tetradic
#21708B #71218B #8B3C21 #3B8B21
square
#21708B #71218B #8B3C21 #3B8B21
split-complementary
#21708B #8B213B #8B7121
monochromatic
#0A2028 #15485A #21708B #2D98BC #51B4D6

Accessibility & contrast

On white

5.59
#21708B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#21708B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21708B
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21708B#FFFFFF#000000##FFFFFF
##21708B1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616E8C
Deuteranopia (green-blind)
#53638B
Tritanopia (blue-blind)
#007879
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #21708b;
/* rgb */ color: rgb(33, 112, 139);
/* oklch */ color: oklch(51.1% 0.085 225.4);
Tailwind
colors: {
  custom: {
    50: '#6d99ad',
    500: '#21708b',
    950: '#000000',
  },
}
SCSS
$custom: #21708b;
$custom-light: #6d99ad;
$custom-dark: #000000;
JSON
{
  "hex": "#21708b",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 139
  },
  "hsl": {
    "h": 195.283,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.51063,
    "c": 0.08493,
    "h": 225.4
  },
  "luminance": 0.13776
}

Semantic roles & 50–950 ramp

primary
#21708B
secondary
#B96A4F
accent
#6C43E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #21708B

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

Preview Lab → · Contrast checker → · Palette generator →

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