#21778A#21778A

#21778A is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 52.8% C 0.083 H 216.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#21778A
RGBrgb(33, 119, 138)
HSLhsl(191, 61%, 34%)
HSVhsv(191, 76%, 54%)
CMYKcmyk(76.1%, 13.8%, 0%, 45.9%)
CIE-LABlab(46.11, -18.22, -17.59)
CIE-LCHlch(46.11, 25.33, 224.00°)
OKLaboklab(52.82% -0.0674 -0.0491)
OKLCHoklch(52.82% 0.083 216.1)
XYZxyz(11.8095, 15.3506, 26.3804)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21778A #8A3421
analogous
#218A68 #21778A #21428A
triadic
#21778A #8A2177 #778A21
tetradic
#21778A #68218A #8A3421 #428A21
square
#21778A #68218A #8A3421 #428A21
split-complementary
#21778A #8A2142 #8A6821
monochromatic
#092227 #154C59 #21778A #2DA2BB #50BDD5

Accessibility & contrast

On white

5.16
#21778A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#21778A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21778A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21778A#FFFFFF#000000##FFFFFF
##21778A1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21778a;
/* rgb */ color: rgb(33, 119, 138);
/* oklch */ color: oklch(52.8% 0.083 216.1);
Tailwind
colors: {
  custom: {
    50: '#6d9eac',
    500: '#21778a',
    950: '#000000',
  },
}
SCSS
$custom: #21778a;
$custom-light: #6d9eac;
$custom-dark: #000000;
JSON
{
  "hex": "#21778a",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 138
  },
  "hsl": {
    "h": 190.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52818,
    "c": 0.08337,
    "h": 216.1
  },
  "luminance": 0.15352
}

Semantic roles & 50–950 ramp

primary
#21778A
secondary
#B9614E
accent
#6043E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21778A

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

Preview Lab → · Contrast checker → · Palette generator →

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