#21879E#21879E

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

Color values

HEX#21879E
RGBrgb(33, 135, 158)
HSLhsl(191, 65%, 37%)
HSVhsv(191, 79%, 62%)
CMYKcmyk(79.1%, 14.6%, 0%, 38%)
CIE-LABlab(51.97, -20.04, -20.35)
CIE-LCHlch(51.97, 28.56, 225.43°)
OKLaboklab(57.79% -0.0754 -0.0568)
OKLCHoklch(57.79% 0.094 217)
XYZxyz(15.4601, 20.1180, 35.4095)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21879E #9E3821
analogous
#219E77 #21879E #21499E
triadic
#21879E #9E2187 #879E21
tetradic
#21879E #77219E #9E3821 #499E21
square
#21879E #77219E #9E3821 #499E21
split-complementary
#21879E #9E2149 #9E7721
monochromatic
#0C3039 #165C6B #21879E #2CB2D1 #5CC5DD

Accessibility & contrast

On white

4.18
#21879E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##21879E#FFFFFF#000000##000000
##21879E1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21879e;
/* rgb */ color: rgb(33, 135, 158);
/* oklch */ color: oklch(57.8% 0.094 217.0);
Tailwind
colors: {
  custom: {
    50: '#72aaba',
    500: '#21879e',
    950: '#000000',
  },
}
SCSS
$custom: #21879e;
$custom-light: #72aaba;
$custom-dark: #000000;
JSON
{
  "hex": "#21879e",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 158
  },
  "hsl": {
    "h": 191.04,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57792,
    "c": 0.09441,
    "h": 217
  },
  "luminance": 0.2012
}

Semantic roles & 50–950 ramp

primary
#21879E
secondary
#C16D59
accent
#5E3FE8
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #21879E

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

Preview Lab → · Contrast checker → · Palette generator →

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