#5B88F5#5B88F5

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

Color values

HEX#5B88F5
RGBrgb(91, 136, 245)
HSLhsl(222, 89%, 66%)
HSVhsv(222, 63%, 96%)
CMYKcmyk(62.9%, 44.5%, 0%, 3.9%)
CIE-LABlab(58.44, 18.05, -59.30)
CIE-LCHlch(58.44, 61.98, 286.93°)
OKLaboklab(64.79% -0.0144 -0.1694)
OKLCHoklch(64.79% 0.17 265.1)
XYZxyz(29.5943, 26.4223, 89.9089)
Luminance0.2642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B88F5 #F5C85B
analogous
#5BD5F5 #5B88F5 #7B5BF5
triadic
#5B88F5 #F55B88 #88F55B
tetradic
#5B88F5 #F55BD5 #F5C85B #5BF57B
square
#5B88F5 #F55BD5 #F5C85B #5BF57B
split-complementary
#5B88F5 #F57B5B #D5F55B
monochromatic
#0C44C9 #215EF1 #5B88F5 #95B2F9 #CEDCFC

Accessibility & contrast

On white

3.34
#5B88F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#5B88F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B88F5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B88F5#FFFFFF#000000##000000
##5B88F51.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)
#5494F9
Deuteranopia (green-blind)
#3A86F3
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5b88f5;
/* rgb */ color: rgb(91, 136, 245);
/* oklch */ color: oklch(64.8% 0.170 265.1);
Tailwind
colors: {
  custom: {
    50: '#97aaf9',
    500: '#5b88f5',
    950: '#000000',
  },
}
SCSS
$custom: #5b88f5;
$custom-light: #97aaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b88f5",
  "rgb": {
    "r": 91,
    "g": 136,
    "b": 245
  },
  "hsl": {
    "h": 222.468,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64791,
    "c": 0.16998,
    "h": 265.1
  },
  "luminance": 0.26425
}

Semantic roles & 50–950 ramp

primary
#5B88F5
secondary
#EFE0BC
accent
#A200E5
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5B88F5

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

Preview Lab → · Contrast checker → · Palette generator →

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