#21788D#21788D

#21788D is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.2% C 0.085 H 217.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#21788D
RGBrgb(33, 120, 141)
HSLhsl(192, 62%, 34%)
HSVhsv(192, 77%, 55%)
CMYKcmyk(76.6%, 14.9%, 0%, 44.7%)
CIE-LABlab(46.55, -17.74, -18.70)
CIE-LCHlch(46.55, 25.78, 226.51°)
OKLaboklab(53.21% -0.0671 -0.0522)
OKLCHoklch(53.21% 0.085 217.9)
XYZxyz(12.1494, 15.6779, 27.5800)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21788D #8D3621
analogous
#218D6C #21788D #21428D
triadic
#21788D #8D2178 #788D21
tetradic
#21788D #6C218D #8D3621 #428D21
square
#21788D #6C218D #8D3621 #428D21
split-complementary
#21788D #8D2142 #8D6C21
monochromatic
#0A242A #154E5B #21788D #2DA2BF #52BDD6

Accessibility & contrast

On white

5.08
#21788D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#21788D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21788D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21788D#FFFFFF#000000##FFFFFF
##21788D1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A748E
Deuteranopia (green-blind)
#5C6A8D
Tritanopia (blue-blind)
#007F7F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #21788d;
/* rgb */ color: rgb(33, 120, 141);
/* oklch */ color: oklch(53.2% 0.085 217.9);
Tailwind
colors: {
  custom: {
    50: '#6e9fae',
    500: '#21788d',
    950: '#000000',
  },
}
SCSS
$custom: #21788d;
$custom-light: #6e9fae;
$custom-dark: #000000;
JSON
{
  "hex": "#21788d",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 141
  },
  "hsl": {
    "h": 191.667,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5321,
    "c": 0.08507,
    "h": 217.9
  },
  "luminance": 0.15679
}

Semantic roles & 50–950 ramp

primary
#21788D
secondary
#BA6450
accent
#6243E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21788D

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

Preview Lab → · Contrast checker → · Palette generator →

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