#5887FA#5887FA

#5887FA is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.8% C 0.179 H 265.1°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5887FA
RGBrgb(88, 135, 250)
HSLhsl(223, 94%, 66%)
HSVhsv(223, 65%, 98%)
CMYKcmyk(64.8%, 46%, 0%, 2%)
CIE-LABlab(58.32, 19.84, -62.24)
CIE-LCHlch(58.32, 65.33, 287.68°)
OKLaboklab(64.76% -0.0153 -0.1781)
OKLCHoklch(64.76% 0.179 265.1)
XYZxyz(29.9378, 26.3019, 93.9230)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887FA #FACB58
analogous
#58D8FA #5887FA #7A58FA
triadic
#5887FA #FA5887 #87FA58
tetradic
#5887FA #FA58D8 #FACB58 #58FA7A
square
#5887FA #FA58D8 #FACB58 #58FA7A
split-complementary
#5887FA #FA7A58 #D8FA58
monochromatic
#0641D1 #1D5CF8 #5887FA #93B2FC #CFDCFE

Accessibility & contrast

On white

3.35
#5887FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#5887FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887FA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887FA#FFFFFF#000000##000000
##5887FA1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D94FE
Deuteranopia (green-blind)
#2D85F8
Tritanopia (blue-blind)
#00A2B4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5887fa;
/* rgb */ color: rgb(88, 135, 250);
/* oklch */ color: oklch(64.8% 0.179 265.1);
Tailwind
colors: {
  custom: {
    50: '#96a9fd',
    500: '#5887fa',
    950: '#000000',
  },
}
SCSS
$custom: #5887fa;
$custom-light: #96a9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5887fa",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 222.593,
    "s": 94.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6476,
    "c": 0.17876,
    "h": 265.1
  },
  "luminance": 0.26305
}

Semantic roles & 50–950 ramp

primary
#5887FA
secondary
#F1E2BC
accent
#A300E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5887FA

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

Preview Lab → · Contrast checker → · Palette generator →

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