#21778B#21778B

#21778B is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 52.9% C 0.084 H 217.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#21778B
RGBrgb(33, 119, 139)
HSLhsl(191, 62%, 34%)
HSVhsv(191, 76%, 55%)
CMYKcmyk(76.3%, 14.4%, 0%, 45.5%)
CIE-LABlab(46.15, -17.88, -18.13)
CIE-LCHlch(46.15, 25.46, 225.40°)
OKLaboklab(52.86% -0.0669 -0.0506)
OKLCHoklch(52.86% 0.084 217.1)
XYZxyz(11.8823, 15.3796, 26.7634)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21778B #8B3521
analogous
#218B6A #21778B #21428B
triadic
#21778B #8B2177 #778B21
tetradic
#21778B #6A218B #8B3521 #428B21
square
#21778B #6A218B #8B3521 #428B21
split-complementary
#21778B #8B2142 #8B6A21
monochromatic
#0A2228 #154D5A #21778B #2DA1BC #51BDD6

Accessibility & contrast

On white

5.15
#21778B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#21778B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21778B
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21778B#FFFFFF#000000##FFFFFF
##21778B1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A738C
Deuteranopia (green-blind)
#5B698B
Tritanopia (blue-blind)
#007E7D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #21778b;
/* rgb */ color: rgb(33, 119, 139);
/* oklch */ color: oklch(52.9% 0.084 217.1);
Tailwind
colors: {
  custom: {
    50: '#6e9ead',
    500: '#21778b',
    950: '#000000',
  },
}
SCSS
$custom: #21778b;
$custom-light: #6e9ead;
$custom-dark: #000000;
JSON
{
  "hex": "#21778b",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 139
  },
  "hsl": {
    "h": 191.321,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52862,
    "c": 0.08392,
    "h": 217.1
  },
  "luminance": 0.15381
}

Semantic roles & 50–950 ramp

primary
#21778B
secondary
#B9634F
accent
#6243E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21778B

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

Preview Lab → · Contrast checker → · Palette generator →

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