#5881EF#5881EF

#5881EF is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.8% C 0.171 H 266.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5881EF
RGBrgb(88, 129, 239)
HSLhsl(224, 83%, 64%)
HSVhsv(224, 63%, 94%)
CMYKcmyk(63.2%, 46%, 0%, 6.3%)
CIE-LABlab(56.09, 19.75, -59.74)
CIE-LCHlch(56.09, 62.92, 288.30°)
OKLaboklab(62.84% -0.0113 -0.1708)
OKLCHoklch(62.84% 0.171 266.2)
XYZxyz(27.4494, 24.0047, 84.8314)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5881EF #EFC658
analogous
#58CCEF #5881EF #7B58EF
triadic
#5881EF #EF5881 #81EF58
tetradic
#5881EF #EF58CC #EFC658 #58EF7B
square
#5881EF #EF58CC #EFC658 #58EF7B
split-complementary
#5881EF #EF7B58 #CCEF58
monochromatic
#1240BB #2057EA #5881EF #90ABF4 #C8D5FA

Accessibility & contrast

On white

3.62
#5881EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#5881EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5881EF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5881EF#FFFFFF#000000##000000
##5881EF1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#2F80ED
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5881ef;
/* rgb */ color: rgb(88, 129, 239);
/* oklch */ color: oklch(62.8% 0.171 266.2);
Tailwind
colors: {
  custom: {
    50: '#95a5f5',
    500: '#5881ef',
    950: '#000000',
  },
}
SCSS
$custom: #5881ef;
$custom-light: #95a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5881ef",
  "rgb": {
    "r": 88,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 223.709,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62844,
    "c": 0.17118,
    "h": 266.2
  },
  "luminance": 0.24007
}

Semantic roles & 50–950 ramp

primary
#5881EF
secondary
#ECDDB7
accent
#A407DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5881EF

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

Preview Lab → · Contrast checker → · Palette generator →

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