#5887F1#5887F1

#5887F1 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.2% C 0.167 H 264.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5887F1
RGBrgb(88, 135, 241)
HSLhsl(222, 85%, 65%)
HSVhsv(222, 63%, 95%)
CMYKcmyk(63.5%, 44%, 0%, 5.5%)
CIE-LABlab(57.80, 16.79, -58.11)
CIE-LCHlch(57.80, 60.49, 286.12°)
OKLaboklab(64.19% -0.0167 -0.1659)
OKLCHoklch(64.19% 0.167 264.2)
XYZxyz(28.5601, 25.7509, 86.6673)
Luminance0.2575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887F1 #F1C258
analogous
#58D3F1 #5887F1 #7658F1
triadic
#5887F1 #F15887 #87F158
tetradic
#5887F1 #F158D3 #F1C258 #58F176
square
#5887F1 #F158D3 #F1C258 #58F176
split-complementary
#5887F1 #F17658 #D3F158
monochromatic
#1046BF #205EEC #5887F1 #90B0F6 #C9D8FA

Accessibility & contrast

On white

3.41
#5887F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#5887F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887F1
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887F1#FFFFFF#000000##000000
##5887F11.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5492F5
Deuteranopia (green-blind)
#3B84EF
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5887f1;
/* rgb */ color: rgb(88, 135, 241);
/* oklch */ color: oklch(64.2% 0.167 264.2);
Tailwind
colors: {
  custom: {
    50: '#95a9f6',
    500: '#5887f1',
    950: '#000000',
  },
}
SCSS
$custom: #5887f1;
$custom-light: #95a9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5887f1",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 221.569,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64191,
    "c": 0.16679,
    "h": 264.2
  },
  "luminance": 0.25754
}

Semantic roles & 50–950 ramp

primary
#5887F1
secondary
#EDDDB8
accent
#9D05E1
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5887F1

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

Preview Lab → · Contrast checker → · Palette generator →

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