#5881F7#5881F7

#5881F7 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.4% C 0.182 H 266.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5881F7
RGBrgb(88, 129, 247)
HSLhsl(225, 91%, 66%)
HSVhsv(225, 64%, 97%)
CMYKcmyk(64.4%, 47.8%, 0%, 3.1%)
CIE-LABlab(56.57, 22.46, -63.40)
CIE-LCHlch(56.57, 67.26, 289.51°)
OKLaboklab(63.37% -0.0102 -0.1816)
OKLCHoklch(63.37% 0.182 266.8)
XYZxyz(28.6575, 24.4880, 91.1941)
Luminance0.2449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5881F7 #F7CE58
analogous
#58D1F7 #5881F7 #7E58F7
triadic
#5881F7 #F75881 #81F758
tetradic
#5881F7 #F758D1 #F7CE58 #58F77E
square
#5881F7 #F758D1 #F7CE58 #58F77E
split-complementary
#5881F7 #F77E58 #D1F758
monochromatic
#0A3CCB #1E55F4 #5881F7 #92ADFA #CDD9FD

Accessibility & contrast

On white

3.56
#5881F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#5881F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5881F7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5881F7#FFFFFF#000000##000000
##5881F71.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#438FFB
Deuteranopia (green-blind)
#1E81F5
Tritanopia (blue-blind)
#009CB0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5881f7;
/* rgb */ color: rgb(88, 129, 247);
/* oklch */ color: oklch(63.4% 0.182 266.8);
Tailwind
colors: {
  custom: {
    50: '#96a5fa',
    500: '#5881f7',
    950: '#000000',
  },
}
SCSS
$custom: #5881f7;
$custom-light: #96a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5881f7",
  "rgb": {
    "r": 88,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 224.528,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63366,
    "c": 0.18187,
    "h": 266.8
  },
  "luminance": 0.24491
}

Semantic roles & 50–950 ramp

primary
#5881F7
secondary
#F0E2BB
accent
#AA00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5881F7

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

Preview Lab → · Contrast checker → · Palette generator →

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