#21718E#21718E

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

Color values

HEX#21718E
RGBrgb(33, 113, 142)
HSLhsl(196, 62%, 34%)
HSVhsv(196, 77%, 56%)
CMYKcmyk(76.8%, 20.4%, 0%, 44.3%)
CIE-LABlab(44.35, -13.48, -22.67)
CIE-LCHlch(44.35, 26.38, 239.27°)
OKLaboklab(51.46% -0.0595 -0.0636)
OKLCHoklch(51.46% 0.087 226.9)
XYZxyz(11.4128, 14.0852, 27.7032)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21718E #8E3E21
analogous
#218E75 #21718E #213B8E
triadic
#21718E #8E2171 #718E21
tetradic
#21718E #75218E #8E3E21 #3B8E21
square
#21718E #75218E #8E3E21 #3B8E21
split-complementary
#21718E #8E213B #8E7521
monochromatic
#0A222B #15495C #21718E #2D99C0 #52B4D7

Accessibility & contrast

On white

5.50
#21718E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21718E
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21718E#FFFFFF#000000##FFFFFF
##21718E1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616F8F
Deuteranopia (green-blind)
#53648E
Tritanopia (blue-blind)
#00797B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #21718e;
/* rgb */ color: rgb(33, 113, 142);
/* oklch */ color: oklch(51.5% 0.087 226.9);
Tailwind
colors: {
  custom: {
    50: '#6d99af',
    500: '#21718e',
    950: '#000000',
  },
}
SCSS
$custom: #21718e;
$custom-light: #6d99af;
$custom-dark: #000000;
JSON
{
  "hex": "#21718e",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 142
  },
  "hsl": {
    "h": 195.963,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.51463,
    "c": 0.08709,
    "h": 226.9
  },
  "luminance": 0.14087
}

Semantic roles & 50–950 ramp

primary
#21718E
secondary
#BA6D50
accent
#6E42E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21718E

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

Preview Lab → · Contrast checker → · Palette generator →

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