#5886F7#5886F7

#5886F7 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.4% C 0.176 H 265.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5886F7
RGBrgb(88, 134, 247)
HSLhsl(223, 91%, 66%)
HSVhsv(223, 64%, 97%)
CMYKcmyk(64.4%, 45.7%, 0%, 3.1%)
CIE-LABlab(57.88, 19.43, -61.29)
CIE-LCHlch(57.88, 64.30, 287.59°)
OKLaboklab(64.37% -0.0148 -0.1753)
OKLCHoklch(64.37% 0.176 265.2)
XYZxyz(29.3323, 25.8375, 91.4190)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5886F7 #F7C958
analogous
#58D5F7 #5886F7 #7A58F7
triadic
#5886F7 #F75886 #86F758
tetradic
#5886F7 #F758D5 #F7C958 #58F77A
square
#5886F7 #F758D5 #F7C958 #58F77A
split-complementary
#5886F7 #F77A58 #D5F758
monochromatic
#0A42CB #1E5CF4 #5886F7 #92B0FA #CDDBFD

Accessibility & contrast

On white

3.40
#5886F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#5886F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5886F7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5886F7#FFFFFF#000000##000000
##5886F71.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#2F84F5
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5886f7;
/* rgb */ color: rgb(88, 134, 247);
/* oklch */ color: oklch(64.4% 0.176 265.2);
Tailwind
colors: {
  custom: {
    50: '#96a8fa',
    500: '#5886f7',
    950: '#000000',
  },
}
SCSS
$custom: #5886f7;
$custom-light: #96a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5886f7",
  "rgb": {
    "r": 88,
    "g": 134,
    "b": 247
  },
  "hsl": {
    "h": 222.642,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64366,
    "c": 0.17595,
    "h": 265.2
  },
  "luminance": 0.2584
}

Semantic roles & 50–950 ramp

primary
#5886F7
secondary
#F0E1BB
accent
#A300E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5886F7

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

Preview Lab → · Contrast checker → · Palette generator →

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