#5881DC#5881DC

#5881DC is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.7% C 0.145 H 264.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5881DC
RGBrgb(88, 129, 220)
HSLhsl(221, 65%, 60%)
HSVhsv(221, 60%, 86%)
CMYKcmyk(60%, 41.4%, 0%, 13.7%)
CIE-LABlab(55.01, 13.37, -50.85)
CIE-LCHlch(55.01, 52.58, 284.73°)
OKLaboklab(61.66% -0.0145 -0.1447)
OKLCHoklch(61.66% 0.145 264.3)
XYZxyz(24.7886, 22.9404, 70.8179)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5881DC #DCB358
analogous
#58C3DC #5881DC #7158DC
triadic
#5881DC #DC5881 #81DC58
tetradic
#5881DC #DC58C3 #DCB358 #58DC71
square
#5881DC #DC58C3 #DCB358 #58DC71
split-complementary
#5881DC #DC7158 #C3DC58
monochromatic
#204699 #2B5DCC #5881DC #8BA7E7 #BDCDF1

Accessibility & contrast

On white

3.76
#5881DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#5881DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5881DC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5881DC#FFFFFF#000000##000000
##5881DC1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#598AE0
Deuteranopia (green-blind)
#467EDA
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5881dc;
/* rgb */ color: rgb(88, 129, 220);
/* oklch */ color: oklch(61.7% 0.145 264.3);
Tailwind
colors: {
  custom: {
    50: '#92a5e7',
    500: '#5881dc',
    950: '#000000',
  },
}
SCSS
$custom: #5881dc;
$custom-light: #92a5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5881dc",
  "rgb": {
    "r": 88,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 221.364,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61664,
    "c": 0.14543,
    "h": 264.3
  },
  "luminance": 0.22943
}

Semantic roles & 50–950 ramp

primary
#5881DC
secondary
#E1D1AF
accent
#9518CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5881DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5881DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva