#21788A#21788A

#21788A is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.1% C 0.083 H 214.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#21788A
RGBrgb(33, 120, 138)
HSLhsl(190, 61%, 34%)
HSVhsv(190, 76%, 54%)
CMYKcmyk(76.1%, 13%, 0%, 45.9%)
CIE-LABlab(46.43, -18.76, -17.10)
CIE-LCHlch(46.43, 25.39, 222.35°)
OKLaboklab(53.08% -0.0684 -0.0477)
OKLCHoklch(53.08% 0.083 214.9)
XYZxyz(11.9292, 15.5898, 26.4203)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21788A #8A3321
analogous
#218A67 #21788A #21438A
triadic
#21788A #8A2178 #788A21
tetradic
#21788A #67218A #8A3321 #438A21
square
#21788A #67218A #8A3321 #438A21
split-complementary
#21788A #8A2143 #8A6721
monochromatic
#092227 #154D59 #21788A #2DA3BB #50BED5

Accessibility & contrast

On white

5.10
#21788A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#21788A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21788A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21788A#FFFFFF#000000##FFFFFF
##21788A1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21788a;
/* rgb */ color: rgb(33, 120, 138);
/* oklch */ color: oklch(53.1% 0.083 214.9);
Tailwind
colors: {
  custom: {
    50: '#6d9fac',
    500: '#21788a',
    950: '#000000',
  },
}
SCSS
$custom: #21788a;
$custom-light: #6d9fac;
$custom-dark: #000000;
JSON
{
  "hex": "#21788a",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 138
  },
  "hsl": {
    "h": 190.286,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53076,
    "c": 0.08341,
    "h": 214.9
  },
  "luminance": 0.15591
}

Semantic roles & 50–950 ramp

primary
#21788A
secondary
#B9604E
accent
#5F43E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21788A

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

Preview Lab → · Contrast checker → · Palette generator →

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