#5888F7#5888F7

#5888F7 is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.8% C 0.174 H 264.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5888F7
RGBrgb(88, 136, 247)
HSLhsl(222, 91%, 66%)
HSVhsv(222, 64%, 97%)
CMYKcmyk(64.4%, 44.9%, 0%, 3.1%)
CIE-LABlab(58.41, 18.22, -60.45)
CIE-LCHlch(58.41, 63.13, 286.77°)
OKLaboklab(64.77% -0.0167 -0.1728)
OKLCHoklch(64.77% 0.174 264.5)
XYZxyz(29.6113, 26.3956, 91.5120)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5888F7 #F7C758
analogous
#58D7F7 #5888F7 #7758F7
triadic
#5888F7 #F75888 #88F758
tetradic
#5888F7 #F758D7 #F7C758 #58F777
square
#5888F7 #F758D7 #F7C758 #58F777
split-complementary
#5888F7 #F77758 #D7F758
monochromatic
#0A44CB #1E5EF4 #5888F7 #92B2FA #CDDBFD

Accessibility & contrast

On white

3.34
#5888F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#5888F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5888F7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5888F7#FFFFFF#000000##000000
##5888F71.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5294FB
Deuteranopia (green-blind)
#3586F5
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5888f7;
/* rgb */ color: rgb(88, 136, 247);
/* oklch */ color: oklch(64.8% 0.174 264.5);
Tailwind
colors: {
  custom: {
    50: '#96aafa',
    500: '#5888f7',
    950: '#000000',
  },
}
SCSS
$custom: #5888f7;
$custom-light: #96aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#5888f7",
  "rgb": {
    "r": 88,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 221.887,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64771,
    "c": 0.17362,
    "h": 264.5
  },
  "luminance": 0.26398
}

Semantic roles & 50–950 ramp

primary
#5888F7
secondary
#F0E0BB
accent
#A000E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5888F7

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

Preview Lab → · Contrast checker → · Palette generator →

#5888F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva