#5786EA#5786EA

#5786EA is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.5% C 0.159 H 263.6°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5786EA
RGBrgb(87, 134, 234)
HSLhsl(221, 78%, 63%)
HSVhsv(221, 63%, 92%)
CMYKcmyk(62.8%, 42.7%, 0%, 8.2%)
CIE-LABlab(57.09, 14.86, -55.36)
CIE-LCHlch(57.09, 57.32, 285.03°)
OKLaboklab(63.5% -0.0178 -0.1579)
OKLCHoklch(63.5% 0.159 263.6)
XYZxyz(27.3017, 25.0144, 81.2154)
Luminance0.2502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5786EA #EABB57
analogous
#57D0EA #5786EA #7157EA
triadic
#5786EA #EA5786 #86EA57
tetradic
#5786EA #EA57D0 #EABB57 #57EA71
square
#5786EA #EA57D0 #EABB57 #57EA71
split-complementary
#5786EA #EA7157 #D0EA57
monochromatic
#1647B1 #215FE3 #5786EA #8DADF1 #C4D4F8

Accessibility & contrast

On white

3.50
#5786EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#5786EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5786EA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5786EA#FFFFFF#000000##000000
##5786EA1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5890EE
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5786ea;
/* rgb */ color: rgb(87, 134, 234);
/* oklch */ color: oklch(63.5% 0.159 263.6);
Tailwind
colors: {
  custom: {
    50: '#93a8f1',
    500: '#5786ea',
    950: '#000000',
  },
}
SCSS
$custom: #5786ea;
$custom-light: #93a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5786ea",
  "rgb": {
    "r": 87,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 220.816,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63503,
    "c": 0.15891,
    "h": 263.6
  },
  "luminance": 0.25017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5786EA

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

Preview Lab → · Contrast checker → · Palette generator →

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