#21708C#21708C

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

Color values

HEX#21708C
RGBrgb(33, 112, 140)
HSLhsl(196, 62%, 34%)
HSVhsv(196, 76%, 55%)
CMYKcmyk(76.4%, 20%, 0%, 45.1%)
CIE-LABlab(43.95, -13.62, -22.11)
CIE-LCHlch(43.95, 25.96, 238.36°)
OKLaboklab(51.11% -0.0592 -0.062)
OKLCHoklch(51.11% 0.086 226.3)
XYZxyz(11.1531, 13.8038, 26.8825)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21708C #8C3D21
analogous
#218C73 #21708C #213B8C
triadic
#21708C #8C2170 #708C21
tetradic
#21708C #73218C #8C3D21 #3B8C21
square
#21708C #73218C #8C3D21 #3B8C21
split-complementary
#21708C #8C213B #8C7321
monochromatic
#0A2129 #15485A #21708C #2D98BE #51B3D6

Accessibility & contrast

On white

5.58
#21708C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21708C
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21708C#FFFFFF#000000##FFFFFF
##21708C1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616E8D
Deuteranopia (green-blind)
#52638C
Tritanopia (blue-blind)
#007879
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #21708c;
/* rgb */ color: rgb(33, 112, 140);
/* oklch */ color: oklch(51.1% 0.086 226.3);
Tailwind
colors: {
  custom: {
    50: '#6d99ad',
    500: '#21708c',
    950: '#000000',
  },
}
SCSS
$custom: #21708c;
$custom-light: #6d99ad;
$custom-dark: #000000;
JSON
{
  "hex": "#21708c",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 140
  },
  "hsl": {
    "h": 195.701,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.51111,
    "c": 0.08575,
    "h": 226.3
  },
  "luminance": 0.13805
}

Semantic roles & 50–950 ramp

primary
#21708C
secondary
#B96B4F
accent
#6D43E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #21708C

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

Preview Lab → · Contrast checker → · Palette generator →

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