#5881F0#5881F0

#5881F0 is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.9% C 0.173 H 266.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5881F0
RGBrgb(88, 129, 240)
HSLhsl(224, 84%, 64%)
HSVhsv(224, 63%, 94%)
CMYKcmyk(63.3%, 46.3%, 0%, 5.9%)
CIE-LABlab(56.15, 20.09, -60.20)
CIE-LCHlch(56.15, 63.46, 288.46°)
OKLaboklab(62.91% -0.0111 -0.1722)
OKLCHoklch(62.91% 0.173 266.3)
XYZxyz(27.5975, 24.0640, 85.6116)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5881F0 #F0C758
analogous
#58CDF0 #5881F0 #7B58F0
triadic
#5881F0 #F05881 #81F058
tetradic
#5881F0 #F058CD #F0C758 #58F07B
square
#5881F0 #F058CD #F0C758 #58F07B
split-complementary
#5881F0 #F07B58 #CDF058
monochromatic
#113FBD #2057EB #5881F0 #90ABF5 #C8D6FA

Accessibility & contrast

On white

3.61
#5881F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#5881F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5881F0
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5881F0#FFFFFF#000000##000000
##5881F01.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#498EF4
Deuteranopia (green-blind)
#2D80EE
Tritanopia (blue-blind)
#009AAD
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5881f0;
/* rgb */ color: rgb(88, 129, 240);
/* oklch */ color: oklch(62.9% 0.173 266.3);
Tailwind
colors: {
  custom: {
    50: '#95a5f5',
    500: '#5881f0',
    950: '#000000',
  },
}
SCSS
$custom: #5881f0;
$custom-light: #95a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5881f0",
  "rgb": {
    "r": 88,
    "g": 129,
    "b": 240
  },
  "hsl": {
    "h": 223.816,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62909,
    "c": 0.17252,
    "h": 266.3
  },
  "luminance": 0.24066
}

Semantic roles & 50–950 ramp

primary
#5881F0
secondary
#ECDEB8
accent
#A506E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5881F0

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

Preview Lab → · Contrast checker → · Palette generator →

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