#21778F#21778F

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

Color values

HEX#21778F
RGBrgb(33, 119, 143)
HSLhsl(193, 63%, 35%)
HSVhsv(193, 77%, 56%)
CMYKcmyk(76.9%, 16.8%, 0%, 43.9%)
CIE-LABlab(46.31, -16.50, -20.25)
CIE-LCHlch(46.31, 26.12, 230.83°)
OKLaboklab(53.04% -0.0653 -0.0566)
OKLCHoklch(53.04% 0.086 220.9)
XYZxyz(12.1799, 15.4987, 28.3309)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21778F #8F3921
analogous
#218F70 #21778F #21408F
triadic
#21778F #8F2177 #778F21
tetradic
#21778F #70218F #8F3921 #408F21
square
#21778F #70218F #8F3921 #408F21
split-complementary
#21778F #8F2140 #8F7021
monochromatic
#0A242C #164E5D #21778F #2CA0C1 #53BAD7

Accessibility & contrast

On white

5.12
#21778F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#21778F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21778F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21778F#FFFFFF#000000##FFFFFF
##21778F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697490
Deuteranopia (green-blind)
#5A698F
Tritanopia (blue-blind)
#007F7F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #21778f;
/* rgb */ color: rgb(33, 119, 143);
/* oklch */ color: oklch(53.0% 0.086 220.9);
Tailwind
colors: {
  custom: {
    50: '#6e9eaf',
    500: '#21778f',
    950: '#000000',
  },
}
SCSS
$custom: #21778f;
$custom-light: #6e9eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#21778f",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 143
  },
  "hsl": {
    "h": 193.091,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53044,
    "c": 0.08644,
    "h": 220.9
  },
  "luminance": 0.155
}

Semantic roles & 50–950 ramp

primary
#21778F
secondary
#BB6851
accent
#6642E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21778F

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

Preview Lab → · Contrast checker → · Palette generator →

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