#5A88E5#5A88E5

#5A88E5 is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.8% C 0.149 H 263.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5A88E5
RGBrgb(90, 136, 229)
HSLhsl(220, 73%, 63%)
HSVhsv(220, 61%, 90%)
CMYKcmyk(60.7%, 40.6%, 0%, 10.2%)
CIE-LABlab(57.50, 12.52, -51.92)
CIE-LCHlch(57.50, 53.41, 283.56°)
OKLaboklab(63.77% -0.0181 -0.1477)
OKLCHoklch(63.77% 0.149 263)
XYZxyz(27.1586, 25.4367, 77.5921)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A88E5 #E5B75A
analogous
#5ACDE5 #5A88E5 #725AE5
triadic
#5A88E5 #E55A88 #88E55A
tetradic
#5A88E5 #E55ACD #E5B75A #5AE572
square
#5A88E5 #E55ACD #E5B75A #5AE572
split-complementary
#5A88E5 #E5725A #CDE55A
monochromatic
#1B4AAA #2562DD #5A88E5 #8FAEED #C4D4F6

Accessibility & contrast

On white

3.45
#5A88E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#5A88E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A88E5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A88E5#FFFFFF#000000##000000
##5A88E51.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F91E9
Deuteranopia (green-blind)
#4B84E3
Tritanopia (blue-blind)
#009DAB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a88e5;
/* rgb */ color: rgb(90, 136, 229);
/* oklch */ color: oklch(63.8% 0.149 263.0);
Tailwind
colors: {
  custom: {
    50: '#94aaee',
    500: '#5a88e5',
    950: '#000000',
  },
}
SCSS
$custom: #5a88e5;
$custom-light: #94aaee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a88e5",
  "rgb": {
    "r": 90,
    "g": 136,
    "b": 229
  },
  "hsl": {
    "h": 220.144,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63769,
    "c": 0.14884,
    "h": 263
  },
  "luminance": 0.25439
}

Semantic roles & 50–950 ramp

primary
#5A88E5
secondary
#E7D6B4
accent
#9411D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5A88E5

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

Preview Lab → · Contrast checker → · Palette generator →

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