#21788B#21788B

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

Color values

HEX#21788B
RGBrgb(33, 120, 139)
HSLhsl(191, 62%, 34%)
HSVhsv(191, 76%, 55%)
CMYKcmyk(76.3%, 13.7%, 0%, 45.5%)
CIE-LABlab(46.47, -18.42, -17.64)
CIE-LCHlch(46.47, 25.50, 223.75°)
OKLaboklab(53.12% -0.068 -0.0492)
OKLCHoklch(53.12% 0.084 215.9)
XYZxyz(12.0019, 15.6189, 26.8033)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21788B #8B3421
analogous
#218B69 #21788B #21438B
triadic
#21788B #8B2178 #788B21
tetradic
#21788B #69218B #8B3421 #438B21
square
#21788B #69218B #8B3421 #438B21
split-complementary
#21788B #8B2143 #8B6921
monochromatic
#0A2328 #154D5A #21788B #2DA3BC #51BED6

Accessibility & contrast

On white

5.09
#21788B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21788B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21788B#FFFFFF#000000##FFFFFF
##21788B1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21788b;
/* rgb */ color: rgb(33, 120, 139);
/* oklch */ color: oklch(53.1% 0.084 215.9);
Tailwind
colors: {
  custom: {
    50: '#6e9fad',
    500: '#21788b',
    950: '#000000',
  },
}
SCSS
$custom: #21788b;
$custom-light: #6e9fad;
$custom-dark: #000000;
JSON
{
  "hex": "#21788b",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 139
  },
  "hsl": {
    "h": 190.755,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5312,
    "c": 0.08394,
    "h": 215.9
  },
  "luminance": 0.1562
}

Semantic roles & 50–950 ramp

primary
#21788B
secondary
#B9624F
accent
#6043E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21788B

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

Preview Lab → · Contrast checker → · Palette generator →

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