#21879D#21879D

#21879D is a mid, moderate cyan. Relative luminance 0.201; OKLCH L 57.7% C 0.094 H 216.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#21879D
RGBrgb(33, 135, 157)
HSLhsl(191, 65%, 37%)
HSVhsv(191, 79%, 62%)
CMYKcmyk(79%, 14%, 0%, 38.4%)
CIE-LABlab(51.93, -20.38, -19.83)
CIE-LCHlch(51.93, 28.43, 224.21°)
OKLaboklab(57.75% -0.0758 -0.0554)
OKLCHoklch(57.75% 0.094 216.2)
XYZxyz(15.3744, 20.0837, 34.9580)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21879D #9D3721
analogous
#219D75 #21879D #21499D
triadic
#21879D #9D2187 #879D21
tetradic
#21879D #75219D #9D3721 #499D21
square
#21879D #75219D #9D3721 #499D21
split-complementary
#21879D #9D2149 #9D7521
monochromatic
#0C3038 #165C6A #21879D #2CB2D0 #5CC6DD

Accessibility & contrast

On white

4.19
#21879D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#21879D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21879D
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21879D#FFFFFF#000000##000000
##21879D1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#78839E
Deuteranopia (green-blind)
#68779D
Tritanopia (blue-blind)
#008F8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #21879d;
/* rgb */ color: rgb(33, 135, 157);
/* oklch */ color: oklch(57.7% 0.094 216.2);
Tailwind
colors: {
  custom: {
    50: '#72aaba',
    500: '#21879d',
    950: '#000000',
  },
}
SCSS
$custom: #21879d;
$custom-light: #72aaba;
$custom-dark: #000000;
JSON
{
  "hex": "#21879d",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 157
  },
  "hsl": {
    "h": 190.645,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57748,
    "c": 0.09385,
    "h": 216.2
  },
  "luminance": 0.20086
}

Semantic roles & 50–950 ramp

primary
#21879D
secondary
#C16B59
accent
#5D40E8
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #21879D

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

Preview Lab → · Contrast checker → · Palette generator →

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