#5887F2#5887F2

#5887F2 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.3% C 0.168 H 264.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5887F2
RGBrgb(88, 135, 242)
HSLhsl(222, 86%, 65%)
HSVhsv(222, 64%, 95%)
CMYKcmyk(63.6%, 44.2%, 0%, 5.1%)
CIE-LABlab(57.86, 17.13, -58.57)
CIE-LCHlch(57.86, 61.03, 286.30°)
OKLaboklab(64.25% -0.0166 -0.1673)
OKLCHoklch(64.25% 0.168 264.3)
XYZxyz(28.7099, 25.8108, 87.4562)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887F2 #F2C358
analogous
#58D4F2 #5887F2 #7658F2
triadic
#5887F2 #F25887 #87F258
tetradic
#5887F2 #F258D4 #F2C358 #58F276
square
#5887F2 #F258D4 #F2C358 #58F276
split-complementary
#5887F2 #F27658 #D4F258
monochromatic
#0F45C1 #1F5EEE #5887F2 #91B0F6 #CAD9FB

Accessibility & contrast

On white

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

On black

6.16
#5887F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887F2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887F2#FFFFFF#000000##000000
##5887F21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#3A84F0
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5887f2;
/* rgb */ color: rgb(88, 135, 242);
/* oklch */ color: oklch(64.3% 0.168 264.3);
Tailwind
colors: {
  custom: {
    50: '#95a9f7',
    500: '#5887f2',
    950: '#000000',
  },
}
SCSS
$custom: #5887f2;
$custom-light: #95a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5887f2",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 221.688,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64253,
    "c": 0.16813,
    "h": 264.3
  },
  "luminance": 0.25813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5887F2

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

Preview Lab → · Contrast checker → · Palette generator →

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