#5881DA#5881DA

#5881DA is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.5% C 0.143 H 264.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5881DA
RGBrgb(88, 129, 218)
HSLhsl(221, 64%, 60%)
HSVhsv(221, 60%, 85%)
CMYKcmyk(59.6%, 40.8%, 0%, 14.5%)
CIE-LABlab(54.90, 12.71, -49.90)
CIE-LCHlch(54.90, 51.49, 284.29°)
OKLaboklab(61.55% -0.0149 -0.1419)
OKLCHoklch(61.55% 0.143 264)
XYZxyz(24.5253, 22.8351, 69.4313)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5881DA #DAB158
analogous
#58C2DA #5881DA #7058DA
triadic
#5881DA #DA5881 #81DA58
tetradic
#5881DA #DA58C2 #DAB158 #58DA70
square
#5881DA #DA58C2 #DAB158 #58DA70
split-complementary
#5881DA #DA7058 #C2DA58
monochromatic
#214696 #2C5EC8 #5881DA #8AA7E5 #BCCDF0

Accessibility & contrast

On white

3.77
#5881DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#5881DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5881DA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5881DA#FFFFFF#000000##000000
##5881DA1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8ADD
Deuteranopia (green-blind)
#487ED8
Tritanopia (blue-blind)
#0095A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5881da;
/* rgb */ color: rgb(88, 129, 218);
/* oklch */ color: oklch(61.5% 0.143 264.0);
Tailwind
colors: {
  custom: {
    50: '#91a5e6',
    500: '#5881da',
    950: '#000000',
  },
}
SCSS
$custom: #5881da;
$custom-light: #91a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5881da",
  "rgb": {
    "r": 88,
    "g": 129,
    "b": 218
  },
  "hsl": {
    "h": 221.077,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.61545,
    "c": 0.14271,
    "h": 264
  },
  "luminance": 0.22837
}

Semantic roles & 50–950 ramp

primary
#5881DA
secondary
#E0D0AE
accent
#B241E7
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5881DA

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

Preview Lab → · Contrast checker → · Palette generator →

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