#5A87EA#5A87EA

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

Color values

HEX#5A87EA
RGBrgb(90, 135, 234)
HSLhsl(221, 77%, 64%)
HSVhsv(221, 62%, 92%)
CMYKcmyk(61.5%, 42.3%, 0%, 8.2%)
CIE-LABlab(57.50, 14.79, -54.70)
CIE-LCHlch(57.50, 56.66, 285.13°)
OKLaboklab(63.86% -0.0162 -0.1559)
OKLCHoklch(63.86% 0.157 264.1)
XYZxyz(27.7266, 25.4396, 81.2751)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A87EA #EABD5A
analogous
#5ACFEA #5A87EA #755AEA
triadic
#5A87EA #EA5A87 #87EA5A
tetradic
#5A87EA #EA5ACF #EABD5A #5AEA75
square
#5A87EA #EA5ACF #EABD5A #5AEA75
split-complementary
#5A87EA #EA755A #CFEA5A
monochromatic
#1748B3 #2460E3 #5A87EA #90AEF1 #C7D6F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A87EA#FFFFFF#000000##000000
##5A87EA1.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)
#5A91EE
Deuteranopia (green-blind)
#4484E8
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a87ea;
/* rgb */ color: rgb(90, 135, 234);
/* oklch */ color: oklch(63.9% 0.157 264.1);
Tailwind
colors: {
  custom: {
    50: '#95a9f1',
    500: '#5a87ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a87ea;
$custom-light: #95a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a87ea",
  "rgb": {
    "r": 90,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 221.25,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63859,
    "c": 0.15673,
    "h": 264.1
  },
  "luminance": 0.25442
}

Semantic roles & 50–950 ramp

primary
#5A87EA
secondary
#E9D9B6
accent
#990CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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