#21778E#21778E

#21778E is a mid, moderate cyan. Relative luminance 0.155; OKLCH L 53.0% C 0.086 H 220.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#21778E
RGBrgb(33, 119, 142)
HSLhsl(193, 62%, 34%)
HSVhsv(193, 77%, 56%)
CMYKcmyk(76.8%, 16.2%, 0%, 44.3%)
CIE-LABlab(46.27, -16.84, -19.72)
CIE-LCHlch(46.27, 25.94, 229.50°)
OKLaboklab(53% -0.0657 -0.0551)
OKLCHoklch(53% 0.086 220)
XYZxyz(12.1045, 15.4685, 27.9337)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21778E #8E3821
analogous
#218E6F #21778E #21408E
triadic
#21778E #8E2177 #778E21
tetradic
#21778E #6F218E #8E3821 #408E21
square
#21778E #6F218E #8E3821 #408E21
split-complementary
#21778E #8E2140 #8E6F21
monochromatic
#0A242B #154D5C #21778E #2DA1C0 #52BBD7

Accessibility & contrast

On white

5.13
#21778E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#21778E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21778E
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21778E#FFFFFF#000000##FFFFFF
##21778E1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69748F
Deuteranopia (green-blind)
#5A698E
Tritanopia (blue-blind)
#007F7E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #21778e;
/* rgb */ color: rgb(33, 119, 142);
/* oklch */ color: oklch(53.0% 0.086 220.0);
Tailwind
colors: {
  custom: {
    50: '#6e9eaf',
    500: '#21778e',
    950: '#000000',
  },
}
SCSS
$custom: #21778e;
$custom-light: #6e9eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#21778e",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 142
  },
  "hsl": {
    "h": 192.661,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.52998,
    "c": 0.08577,
    "h": 220
  },
  "luminance": 0.1547
}

Semantic roles & 50–950 ramp

primary
#21778E
secondary
#BA6750
accent
#6542E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21778E

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

Preview Lab → · Contrast checker → · Palette generator →

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