#21879F#21879F

#21879F is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 57.8% C 0.095 H 217.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#21879F
RGBrgb(33, 135, 159)
HSLhsl(191, 66%, 38%)
HSVhsv(191, 79%, 62%)
CMYKcmyk(79.2%, 15.1%, 0%, 37.6%)
CIE-LABlab(52.01, -19.70, -20.87)
CIE-LCHlch(52.01, 28.70, 226.65°)
OKLaboklab(57.84% -0.075 -0.0583)
OKLCHoklch(57.84% 0.095 217.9)
XYZxyz(15.5465, 20.1526, 35.8646)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21879F #9F3921
analogous
#219F78 #21879F #21489F
triadic
#21879F #9F2187 #879F21
tetradic
#21879F #78219F #9F3921 #489F21
square
#21879F #78219F #9F3921 #489F21
split-complementary
#21879F #9F2148 #9F7821
monochromatic
#0C313A #165C6C #21879F #2CB2D2 #5DC5DD

Accessibility & contrast

On white

4.17
#21879F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#21879F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21879F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21879F#FFFFFF#000000##000000
##21879F1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7883A0
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#008F8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #21879f;
/* rgb */ color: rgb(33, 135, 159);
/* oklch */ color: oklch(57.8% 0.095 217.9);
Tailwind
colors: {
  custom: {
    50: '#72aabb',
    500: '#21879f',
    950: '#000000',
  },
}
SCSS
$custom: #21879f;
$custom-light: #72aabb;
$custom-dark: #000000;
JSON
{
  "hex": "#21879f",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 159
  },
  "hsl": {
    "h": 191.429,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57836,
    "c": 0.09498,
    "h": 217.9
  },
  "luminance": 0.20154
}

Semantic roles & 50–950 ramp

primary
#21879F
secondary
#C26E5A
accent
#5F3FE9
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #21879F

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

Preview Lab → · Contrast checker → · Palette generator →

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