#21778C#21778C

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

Color values

HEX#21778C
RGBrgb(33, 119, 140)
HSLhsl(192, 62%, 34%)
HSVhsv(192, 76%, 55%)
CMYKcmyk(76.4%, 15%, 0%, 45.1%)
CIE-LABlab(46.19, -17.53, -18.66)
CIE-LCHlch(46.19, 25.61, 226.78°)
OKLaboklab(52.91% -0.0665 -0.0521)
OKLCHoklch(52.91% 0.085 218.1)
XYZxyz(11.9557, 15.4090, 27.1500)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21778C #8C3621
analogous
#218C6C #21778C #21428C
triadic
#21778C #8C2177 #778C21
tetradic
#21778C #6C218C #8C3621 #428C21
square
#21778C #6C218C #8C3621 #428C21
split-complementary
#21778C #8C2142 #8C6C21
monochromatic
#0A2329 #154D5A #21778C #2DA1BE #51BCD6

Accessibility & contrast

On white

5.14
#21778C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21778C
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21778C#FFFFFF#000000##FFFFFF
##21778C1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A738D
Deuteranopia (green-blind)
#5B698C
Tritanopia (blue-blind)
#007E7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #21778c;
/* rgb */ color: rgb(33, 119, 140);
/* oklch */ color: oklch(52.9% 0.085 218.1);
Tailwind
colors: {
  custom: {
    50: '#6e9ead',
    500: '#21778c',
    950: '#000000',
  },
}
SCSS
$custom: #21778c;
$custom-light: #6e9ead;
$custom-dark: #000000;
JSON
{
  "hex": "#21778c",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 140
  },
  "hsl": {
    "h": 191.776,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52907,
    "c": 0.08451,
    "h": 218.1
  },
  "luminance": 0.1541
}

Semantic roles & 50–950 ramp

primary
#21778C
secondary
#B9644F
accent
#6343E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21778C

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

Preview Lab → · Contrast checker → · Palette generator →

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