#21788C#21788C

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

Color values

HEX#21788C
RGBrgb(33, 120, 140)
HSLhsl(191, 62%, 34%)
HSVhsv(191, 76%, 55%)
CMYKcmyk(76.4%, 14.3%, 0%, 45.1%)
CIE-LABlab(46.51, -18.08, -18.17)
CIE-LCHlch(46.51, 25.63, 225.14°)
OKLaboklab(53.16% -0.0676 -0.0507)
OKLCHoklch(53.16% 0.085 216.9)
XYZxyz(12.0753, 15.6483, 27.1899)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21788C #8C3521
analogous
#218C6B #21788C #21438C
triadic
#21788C #8C2178 #788C21
tetradic
#21788C #6B218C #8C3521 #438C21
square
#21788C #6B218C #8C3521 #438C21
split-complementary
#21788C #8C2143 #8C6B21
monochromatic
#0A2329 #154E5A #21788C #2DA2BE #51BDD6

Accessibility & contrast

On white

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

On black

4.13
#21788C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##21788C#FFFFFF#000000##FFFFFF
##21788C1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B748D
Deuteranopia (green-blind)
#5C6A8C
Tritanopia (blue-blind)
#007F7E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #21788c;
/* rgb */ color: rgb(33, 120, 140);
/* oklch */ color: oklch(53.2% 0.085 216.9);
Tailwind
colors: {
  custom: {
    50: '#6e9fad',
    500: '#21788c',
    950: '#000000',
  },
}
SCSS
$custom: #21788c;
$custom-light: #6e9fad;
$custom-dark: #000000;
JSON
{
  "hex": "#21788c",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 140
  },
  "hsl": {
    "h": 191.215,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53165,
    "c": 0.0845,
    "h": 216.9
  },
  "luminance": 0.1565
}

Semantic roles & 50–950 ramp

primary
#21788C
secondary
#B9634F
accent
#6143E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21788C

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

Preview Lab → · Contrast checker → · Palette generator →

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