#21718D#21718D

#21718D is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.4% C 0.086 H 226.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#21718D
RGBrgb(33, 113, 141)
HSLhsl(196, 62%, 34%)
HSVhsv(196, 77%, 55%)
CMYKcmyk(76.6%, 19.9%, 0%, 44.7%)
CIE-LABlab(44.31, -13.83, -22.14)
CIE-LCHlch(44.31, 26.11, 238.01°)
OKLaboklab(51.42% -0.0599 -0.0621)
OKLCHoklch(51.42% 0.086 226)
XYZxyz(11.3381, 14.0553, 27.3095)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21718D #8D3D21
analogous
#218D73 #21718D #213B8D
triadic
#21718D #8D2171 #718D21
tetradic
#21718D #73218D #8D3D21 #3B8D21
square
#21718D #73218D #8D3D21 #3B8D21
split-complementary
#21718D #8D213B #8D7321
monochromatic
#0A222A #15495B #21718D #2D99BF #52B4D6

Accessibility & contrast

On white

5.51
#21718D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21718D
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21718D#FFFFFF#000000##FFFFFF
##21718D1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626F8E
Deuteranopia (green-blind)
#53648D
Tritanopia (blue-blind)
#00797A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #21718d;
/* rgb */ color: rgb(33, 113, 141);
/* oklch */ color: oklch(51.4% 0.086 226.0);
Tailwind
colors: {
  custom: {
    50: '#6d99ae',
    500: '#21718d',
    950: '#000000',
  },
}
SCSS
$custom: #21718d;
$custom-light: #6d99ae;
$custom-dark: #000000;
JSON
{
  "hex": "#21718d",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 141
  },
  "hsl": {
    "h": 195.556,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.51415,
    "c": 0.08627,
    "h": 226
  },
  "luminance": 0.14057
}

Semantic roles & 50–950 ramp

primary
#21718D
secondary
#BA6B50
accent
#6D43E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21718D

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

Preview Lab → · Contrast checker → · Palette generator →

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