#5887FC#5887FC

#5887FC is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.9% C 0.181 H 265.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5887FC
RGBrgb(88, 135, 252)
HSLhsl(223, 96%, 67%)
HSVhsv(223, 65%, 99%)
CMYKcmyk(65.1%, 46.4%, 0%, 1.2%)
CIE-LABlab(58.44, 20.52, -63.15)
CIE-LCHlch(58.44, 66.40, 288.00°)
OKLaboklab(64.89% -0.015 -0.1808)
OKLCHoklch(64.89% 0.181 265.2)
XYZxyz(30.2530, 26.4280, 95.5834)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887FC #FCCD58
analogous
#58D9FC #5887FC #7B58FC
triadic
#5887FC #FC5887 #87FC58
tetradic
#5887FC #FC58D9 #FCCD58 #58FC7B
square
#5887FC #FC58D9 #FCCD58 #58FC7B
split-complementary
#5887FC #FC7B58 #D9FC58
monochromatic
#0440D6 #1C5CFB #5887FC #94B2FD #D0DDFE

Accessibility & contrast

On white

3.34
#5887FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#5887FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887FC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887FC#FFFFFF#000000##000000
##5887FC1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B94FF
Deuteranopia (green-blind)
#2985FA
Tritanopia (blue-blind)
#00A2B5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5887fc;
/* rgb */ color: rgb(88, 135, 252);
/* oklch */ color: oklch(64.9% 0.181 265.2);
Tailwind
colors: {
  custom: {
    50: '#97a9fe',
    500: '#5887fc',
    950: '#000000',
  },
}
SCSS
$custom: #5887fc;
$custom-light: #97a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5887fc",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 222.805,
    "s": 96.471,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64889,
    "c": 0.18141,
    "h": 265.2
  },
  "luminance": 0.26431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5887FC

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

Preview Lab → · Contrast checker → · Palette generator →

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