#21879C#21879C

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

Color values

HEX#21879C
RGBrgb(33, 135, 156)
HSLhsl(190, 65%, 37%)
HSVhsv(190, 79%, 61%)
CMYKcmyk(78.8%, 13.5%, 0%, 38.8%)
CIE-LABlab(51.89, -20.72, -19.30)
CIE-LCHlch(51.89, 28.32, 222.98°)
OKLaboklab(57.71% -0.0762 -0.0539)
OKLCHoklch(57.71% 0.093 215.3)
XYZxyz(15.2894, 20.0497, 34.5102)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21879C #9C3621
analogous
#219C74 #21879C #214A9C
triadic
#21879C #9C2187 #879C21
tetradic
#21879C #74219C #9C3621 #4A9C21
square
#21879C #74219C #9C3621 #4A9C21
split-complementary
#21879C #9C214A #9C7421
monochromatic
#0C3037 #165B69 #21879C #2CB3CF #5BC6DC

Accessibility & contrast

On white

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

On black

5.01
#21879C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21879C
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21879C#FFFFFF#000000##000000
##21879C1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21879c;
/* rgb */ color: rgb(33, 135, 156);
/* oklch */ color: oklch(57.7% 0.093 215.3);
Tailwind
colors: {
  custom: {
    50: '#72aab9',
    500: '#21879c',
    950: '#000000',
  },
}
SCSS
$custom: #21879c;
$custom-light: #72aab9;
$custom-dark: #000000;
JSON
{
  "hex": "#21879c",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 156
  },
  "hsl": {
    "h": 190.244,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57705,
    "c": 0.09333,
    "h": 215.3
  },
  "luminance": 0.20052
}

Semantic roles & 50–950 ramp

primary
#21879C
secondary
#C16A58
accent
#5C40E8
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #21879C

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

Preview Lab → · Contrast checker → · Palette generator →

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