#5B88F7#5B88F7

#5B88F7 is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.9% C 0.173 H 265.3°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5B88F7
RGBrgb(91, 136, 247)
HSLhsl(223, 91%, 66%)
HSVhsv(223, 63%, 97%)
CMYKcmyk(63.2%, 44.9%, 0%, 3.1%)
CIE-LABlab(58.55, 18.72, -60.22)
CIE-LCHlch(58.55, 63.06, 287.27°)
OKLaboklab(64.92% -0.0141 -0.1721)
OKLCHoklch(64.92% 0.173 265.3)
XYZxyz(29.9012, 26.5451, 91.5256)
Luminance0.2655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B88F7 #F7CA5B
analogous
#5BD6F7 #5B88F7 #7C5BF7
triadic
#5B88F7 #F75B88 #88F75B
tetradic
#5B88F7 #F75BD6 #F7CA5B #5BF77C
square
#5B88F7 #F75BD6 #F7CA5B #5BF77C
split-complementary
#5B88F7 #F77C5B #D6F75B
monochromatic
#0A42CE #215EF4 #5B88F7 #95B2FA #D0DDFD

Accessibility & contrast

On white

3.33
#5B88F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#5B88F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B88F7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B88F7#FFFFFF#000000##000000
##5B88F71.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b88f7;
/* rgb */ color: rgb(91, 136, 247);
/* oklch */ color: oklch(64.9% 0.173 265.3);
Tailwind
colors: {
  custom: {
    50: '#97aafa',
    500: '#5b88f7',
    950: '#000000',
  },
}
SCSS
$custom: #5b88f7;
$custom-light: #97aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#5b88f7",
  "rgb": {
    "r": 91,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 222.692,
    "s": 90.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64916,
    "c": 0.17265,
    "h": 265.3
  },
  "luminance": 0.26548
}

Semantic roles & 50–950 ramp

primary
#5B88F7
secondary
#F0E2BD
accent
#A300E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5B88F7

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

Preview Lab → · Contrast checker → · Palette generator →

#5B88F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva