#5887F3#5887F3

#5887F3 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.3% C 0.169 H 264.4°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5887F3
RGBrgb(88, 135, 243)
HSLhsl(222, 87%, 65%)
HSVhsv(222, 64%, 95%)
CMYKcmyk(63.8%, 44.4%, 0%, 4.7%)
CIE-LABlab(57.91, 17.47, -59.03)
CIE-LCHlch(57.91, 61.56, 286.49°)
OKLaboklab(64.32% -0.0164 -0.1687)
OKLCHoklch(64.32% 0.169 264.4)
XYZxyz(28.8605, 25.8710, 88.2493)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887F3 #F3C458
analogous
#58D5F3 #5887F3 #7658F3
triadic
#5887F3 #F35887 #87F358
tetradic
#5887F3 #F358D5 #F3C458 #58F376
square
#5887F3 #F358D5 #F3C458 #58F376
split-complementary
#5887F3 #F37658 #D5F358
monochromatic
#0E45C3 #1F5EEF #5887F3 #91B0F7 #CAD9FB

Accessibility & contrast

On white

3.40
#5887F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#5887F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887F3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887F3#FFFFFF#000000##000000
##5887F31.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5393F7
Deuteranopia (green-blind)
#3885F1
Tritanopia (blue-blind)
#00A0B1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5887f3;
/* rgb */ color: rgb(88, 135, 243);
/* oklch */ color: oklch(64.3% 0.169 264.4);
Tailwind
colors: {
  custom: {
    50: '#95a9f8',
    500: '#5887f3',
    950: '#000000',
  },
}
SCSS
$custom: #5887f3;
$custom-light: #95a9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5887f3",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 221.806,
    "s": 86.592,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64316,
    "c": 0.16945,
    "h": 264.4
  },
  "luminance": 0.25874
}

Semantic roles & 50–950 ramp

primary
#5887F3
secondary
#EEDEB9
accent
#9F02E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5887F3

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

Preview Lab → · Contrast checker → · Palette generator →

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