#21779D#21779D

#21779D is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.7% C 0.098 H 232.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#21779D
RGBrgb(33, 119, 157)
HSLhsl(198, 65%, 37%)
HSVhsv(198, 79%, 62%)
CMYKcmyk(79%, 24.2%, 0%, 38.4%)
CIE-LABlab(46.91, -11.53, -27.58)
CIE-LCHlch(46.91, 29.89, 247.32°)
OKLaboklab(53.72% -0.0599 -0.0777)
OKLCHoklch(53.72% 0.098 232.4)
XYZxyz(13.3074, 15.9497, 34.2690)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21779D #9D4721
analogous
#219D85 #21779D #21399D
triadic
#21779D #9D2177 #779D21
tetradic
#21779D #85219D #9D4721 #399D21
square
#21779D #85219D #9D4721 #399D21
split-complementary
#21779D #9D2139 #9D8521
monochromatic
#0C2A38 #16516A #21779D #2C9DD0 #5CB5DD

Accessibility & contrast

On white

5.01
#21779D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#21779D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21779D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21779D#FFFFFF#000000##FFFFFF
##21779D1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64769F
Deuteranopia (green-blind)
#536A9C
Tritanopia (blue-blind)
#008184
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #21779d;
/* rgb */ color: rgb(33, 119, 157);
/* oklch */ color: oklch(53.7% 0.098 232.4);
Tailwind
colors: {
  custom: {
    50: '#709eba',
    500: '#21779d',
    950: '#000000',
  },
}
SCSS
$custom: #21779d;
$custom-light: #709eba;
$custom-dark: #000000;
JSON
{
  "hex": "#21779d",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 157
  },
  "hsl": {
    "h": 198.387,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.53721,
    "c": 0.09808,
    "h": 232.4
  },
  "luminance": 0.15951
}

Semantic roles & 50–950 ramp

primary
#21779D
secondary
#C17959
accent
#7340E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #21779D

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

Preview Lab → · Contrast checker → · Palette generator →

#21779D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva