#5787EA#5787EA

#5787EA is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.7% C 0.158 H 263.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5787EA
RGBrgb(87, 135, 234)
HSLhsl(220, 78%, 63%)
HSVhsv(220, 63%, 92%)
CMYKcmyk(62.8%, 42.3%, 0%, 8.2%)
CIE-LABlab(57.36, 14.26, -54.93)
CIE-LCHlch(57.36, 56.75, 284.55°)
OKLaboklab(63.71% -0.0188 -0.1566)
OKLCHoklch(63.71% 0.158 263.2)
XYZxyz(27.4406, 25.2922, 81.2617)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5787EA #EABA57
analogous
#57D1EA #5787EA #7057EA
triadic
#5787EA #EA5787 #87EA57
tetradic
#5787EA #EA57D1 #EABA57 #57EA70
square
#5787EA #EA57D1 #EABA57 #57EA70
split-complementary
#5787EA #EA7057 #D1EA57
monochromatic
#1649B1 #2160E3 #5787EA #8DAEF1 #C4D5F8

Accessibility & contrast

On white

3.47
#5787EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#5787EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5787EA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5787EA#FFFFFF#000000##000000
##5787EA1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EE
Deuteranopia (green-blind)
#4383E8
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5787ea;
/* rgb */ color: rgb(87, 135, 234);
/* oklch */ color: oklch(63.7% 0.158 263.2);
Tailwind
colors: {
  custom: {
    50: '#93a9f1',
    500: '#5787ea',
    950: '#000000',
  },
}
SCSS
$custom: #5787ea;
$custom-light: #93a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5787ea",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 220.408,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63711,
    "c": 0.15776,
    "h": 263.2
  },
  "luminance": 0.25295
}

Semantic roles & 50–950 ramp

primary
#5787EA
secondary
#E9D8B4
accent
#970BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5787EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5787EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva