#5A88EC#5A88EC

#5A88EC is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.2% C 0.158 H 263.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5A88EC
RGBrgb(90, 136, 236)
HSLhsl(221, 79%, 64%)
HSVhsv(221, 62%, 93%)
CMYKcmyk(61.9%, 42.4%, 0%, 7.5%)
CIE-LABlab(57.88, 14.86, -55.20)
CIE-LCHlch(57.88, 57.17, 285.06°)
OKLaboklab(64.19% -0.0168 -0.1574)
OKLCHoklch(64.19% 0.158 263.9)
XYZxyz(28.1557, 25.8356, 82.8436)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A88EC #ECBE5A
analogous
#5AD1EC #5A88EC #755AEC
triadic
#5A88EC #EC5A88 #88EC5A
tetradic
#5A88EC #EC5AD1 #ECBE5A #5AEC75
square
#5A88EC #EC5AD1 #ECBE5A #5AEC75
split-complementary
#5A88EC #EC755A #D1EC5A
monochromatic
#1548B7 #2360E6 #5A88EC #91B0F2 #C8D7F9

Accessibility & contrast

On white

3.40
#5A88EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#5A88EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A88EC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A88EC#FFFFFF#000000##000000
##5A88EC1.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)
#5A92F0
Deuteranopia (green-blind)
#4485EA
Tritanopia (blue-blind)
#009FAE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a88ec;
/* rgb */ color: rgb(90, 136, 236);
/* oklch */ color: oklch(64.2% 0.158 263.9);
Tailwind
colors: {
  custom: {
    50: '#95aaf3',
    500: '#5a88ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a88ec;
$custom-light: #95aaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a88ec",
  "rgb": {
    "r": 90,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 221.096,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64187,
    "c": 0.15826,
    "h": 263.9
  },
  "luminance": 0.25838
}

Semantic roles & 50–950 ramp

primary
#5A88EC
secondary
#EBDAB7
accent
#9A0ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A88EC

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

Preview Lab → · Contrast checker → · Palette generator →

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