#5887F7#5887F7

#5887F7 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.6% C 0.175 H 264.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5887F7
RGBrgb(88, 135, 247)
HSLhsl(222, 91%, 66%)
HSVhsv(222, 64%, 97%)
CMYKcmyk(64.4%, 45.3%, 0%, 3.1%)
CIE-LABlab(58.15, 18.82, -60.87)
CIE-LCHlch(58.15, 63.72, 287.18°)
OKLaboklab(64.57% -0.0158 -0.1741)
OKLCHoklch(64.57% 0.175 264.8)
XYZxyz(29.4711, 26.1153, 91.4653)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887F7 #F7C858
analogous
#58D7F7 #5887F7 #7858F7
triadic
#5887F7 #F75887 #87F758
tetradic
#5887F7 #F758D7 #F7C858 #58F778
square
#5887F7 #F758D7 #F7C858 #58F778
split-complementary
#5887F7 #F77858 #D7F758
monochromatic
#0A43CB #1E5DF4 #5887F7 #92B1FA #CDDBFD

Accessibility & contrast

On white

3.37
#5887F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#5887F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887F7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887F7#FFFFFF#000000##000000
##5887F71.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FB
Deuteranopia (green-blind)
#3285F5
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5887f7;
/* rgb */ color: rgb(88, 135, 247);
/* oklch */ color: oklch(64.6% 0.175 264.8);
Tailwind
colors: {
  custom: {
    50: '#96a9fa',
    500: '#5887f7',
    950: '#000000',
  },
}
SCSS
$custom: #5887f7;
$custom-light: #96a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5887f7",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 222.264,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64568,
    "c": 0.17478,
    "h": 264.8
  },
  "luminance": 0.26118
}

Semantic roles & 50–950 ramp

primary
#5887F7
secondary
#F0E0BB
accent
#A200E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5887F7

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

Preview Lab → · Contrast checker → · Palette generator →

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