#21788E#21788E

#21788E is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.3% C 0.086 H 218.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#21788E
RGBrgb(33, 120, 142)
HSLhsl(192, 62%, 34%)
HSVhsv(192, 77%, 56%)
CMYKcmyk(76.8%, 15.5%, 0%, 44.3%)
CIE-LABlab(46.59, -17.39, -19.23)
CIE-LCHlch(46.59, 25.93, 227.87°)
OKLaboklab(53.26% -0.0667 -0.0537)
OKLCHoklch(53.26% 0.086 218.8)
XYZxyz(12.2241, 15.7078, 27.9736)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21788E #8E3721
analogous
#218E6E #21788E #21428E
triadic
#21788E #8E2178 #788E21
tetradic
#21788E #6E218E #8E3721 #428E21
square
#21788E #6E218E #8E3721 #428E21
split-complementary
#21788E #8E2142 #8E6E21
monochromatic
#0A242B #154E5C #21788E #2DA2C0 #52BCD7

Accessibility & contrast

On white

5.07
#21788E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21788E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21788E#FFFFFF#000000##FFFFFF
##21788E1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21788e;
/* rgb */ color: rgb(33, 120, 142);
/* oklch */ color: oklch(53.3% 0.086 218.8);
Tailwind
colors: {
  custom: {
    50: '#6e9faf',
    500: '#21788e',
    950: '#000000',
  },
}
SCSS
$custom: #21788e;
$custom-light: #6e9faf;
$custom-dark: #000000;
JSON
{
  "hex": "#21788e",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 142
  },
  "hsl": {
    "h": 192.11,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53255,
    "c": 0.08569,
    "h": 218.8
  },
  "luminance": 0.15709
}

Semantic roles & 50–950 ramp

primary
#21788E
secondary
#BA6650
accent
#6342E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21788E

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

Preview Lab → · Contrast checker → · Palette generator →

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