#21718C#21718C

#21718C is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.4% C 0.085 H 225.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#21718C
RGBrgb(33, 113, 140)
HSLhsl(195, 62%, 34%)
HSVhsv(195, 76%, 55%)
CMYKcmyk(76.4%, 19.3%, 0%, 45.1%)
CIE-LABlab(44.27, -14.19, -21.61)
CIE-LCHlch(44.27, 25.85, 236.72°)
OKLaboklab(51.37% -0.0603 -0.0606)
OKLCHoklch(51.37% 0.085 225.1)
XYZxyz(11.2640, 14.0257, 26.9194)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21718C #8C3C21
analogous
#218C72 #21718C #213C8C
triadic
#21718C #8C2171 #718C21
tetradic
#21718C #72218C #8C3C21 #3C8C21
square
#21718C #72218C #8C3C21 #3C8C21
split-complementary
#21718C #8C213C #8C7221
monochromatic
#0A2129 #15495A #21718C #2D99BE #51B5D6

Accessibility & contrast

On white

5.52
#21718C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#21718C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21718C
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21718C#FFFFFF#000000##FFFFFF
##21718C1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626F8D
Deuteranopia (green-blind)
#54648C
Tritanopia (blue-blind)
#00797A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #21718c;
/* rgb */ color: rgb(33, 113, 140);
/* oklch */ color: oklch(51.4% 0.085 225.1);
Tailwind
colors: {
  custom: {
    50: '#6d9aad',
    500: '#21718c',
    950: '#000000',
  },
}
SCSS
$custom: #21718c;
$custom-light: #6d9aad;
$custom-dark: #000000;
JSON
{
  "hex": "#21718c",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 140
  },
  "hsl": {
    "h": 195.14,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.51367,
    "c": 0.08546,
    "h": 225.1
  },
  "luminance": 0.14027
}

Semantic roles & 50–950 ramp

primary
#21718C
secondary
#B96A4F
accent
#6C43E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21718C

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

Preview Lab → · Contrast checker → · Palette generator →

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