#21718F#21718F

#21718F is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.5% C 0.088 H 227.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#21718F
RGBrgb(33, 113, 143)
HSLhsl(196, 63%, 35%)
HSVhsv(196, 77%, 56%)
CMYKcmyk(76.9%, 21%, 0%, 43.9%)
CIE-LABlab(44.40, -13.12, -23.20)
CIE-LCHlch(44.40, 26.65, 240.51°)
OKLaboklab(51.51% -0.0591 -0.0651)
OKLCHoklch(51.51% 0.088 227.8)
XYZxyz(11.4882, 14.1154, 28.1003)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21718F #8F3F21
analogous
#218F76 #21718F #213A8F
triadic
#21718F #8F2171 #718F21
tetradic
#21718F #76218F #8F3F21 #3A8F21
square
#21718F #76218F #8F3F21 #3A8F21
split-complementary
#21718F #8F213A #8F7621
monochromatic
#0A222C #164A5D #21718F #2C98C1 #53B3D7

Accessibility & contrast

On white

5.49
#21718F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#21718F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21718F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21718F#FFFFFF#000000##FFFFFF
##21718F1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616F90
Deuteranopia (green-blind)
#52648F
Tritanopia (blue-blind)
#007A7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #21718f;
/* rgb */ color: rgb(33, 113, 143);
/* oklch */ color: oklch(51.5% 0.088 227.8);
Tailwind
colors: {
  custom: {
    50: '#6e99b0',
    500: '#21718f',
    950: '#000000',
  },
}
SCSS
$custom: #21718f;
$custom-light: #6e99b0;
$custom-dark: #000000;
JSON
{
  "hex": "#21718f",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 143
  },
  "hsl": {
    "h": 196.364,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.51512,
    "c": 0.08795,
    "h": 227.8
  },
  "luminance": 0.14117
}

Semantic roles & 50–950 ramp

primary
#21718F
secondary
#BB6E51
accent
#6F42E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21718F

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

Preview Lab → · Contrast checker → · Palette generator →

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