#5887FD#5887FD

#5887FD is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.0% C 0.183 H 265.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5887FD
RGBrgb(88, 135, 253)
HSLhsl(223, 98%, 67%)
HSVhsv(223, 65%, 99%)
CMYKcmyk(65.2%, 46.6%, 0%, 0.8%)
CIE-LABlab(58.50, 20.86, -63.61)
CIE-LCHlch(58.50, 66.94, 288.16°)
OKLaboklab(64.95% -0.0149 -0.1821)
OKLCHoklch(64.95% 0.183 265.3)
XYZxyz(30.4119, 26.4916, 96.4201)
Luminance0.2650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887FD #FDCE58
analogous
#58DAFD #5887FD #7C58FD
triadic
#5887FD #FD5887 #87FD58
tetradic
#5887FD #FD58DA #FDCE58 #58FD7C
square
#5887FD #FD58DA #FDCE58 #58FD7C
split-complementary
#5887FD #FD7C58 #DAFD58
monochromatic
#033FD8 #1C5CFC #5887FD #94B2FE #D1DEFE

Accessibility & contrast

On white

3.33
#5887FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#5887FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887FD
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887FD#FFFFFF#000000##000000
##5887FD1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#2786FB
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5887fd;
/* rgb */ color: rgb(88, 135, 253);
/* oklch */ color: oklch(65.0% 0.183 265.3);
Tailwind
colors: {
  custom: {
    50: '#97a9ff',
    500: '#5887fd',
    950: '#000000',
  },
}
SCSS
$custom: #5887fd;
$custom-light: #97a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5887fd",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 222.909,
    "s": 97.633,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64954,
    "c": 0.18272,
    "h": 265.3
  },
  "luminance": 0.26495
}

Semantic roles & 50–950 ramp

primary
#5887FD
secondary
#F3E4BE
accent
#A400E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5887FD

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

Preview Lab → · Contrast checker → · Palette generator →

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