#5786EC#5786EC

#5786EC is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.6% C 0.162 H 263.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5786EC
RGBrgb(87, 134, 236)
HSLhsl(221, 80%, 63%)
HSVhsv(221, 63%, 93%)
CMYKcmyk(63.1%, 43.2%, 0%, 7.5%)
CIE-LABlab(57.20, 15.54, -56.30)
CIE-LCHlch(57.20, 58.40, 285.43°)
OKLaboklab(63.63% -0.0175 -0.1606)
OKLCHoklch(63.63% 0.162 263.8)
XYZxyz(27.5906, 25.1300, 82.7372)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5786EC #ECBD57
analogous
#57D0EC #5786EC #7257EC
triadic
#5786EC #EC5786 #86EC57
tetradic
#5786EC #EC57D0 #ECBD57 #57EC72
square
#5786EC #EC57D0 #ECBD57 #57EC72
split-complementary
#5786EC #EC7257 #D0EC57
monochromatic
#1447B4 #205EE6 #5786EC #8EAEF2 #C5D5F8

Accessibility & contrast

On white

3.48
#5786EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#5786EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5786EC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5786EC#FFFFFF#000000##000000
##5786EC1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F0
Deuteranopia (green-blind)
#3F83EA
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5786ec;
/* rgb */ color: rgb(87, 134, 236);
/* oklch */ color: oklch(63.6% 0.162 263.8);
Tailwind
colors: {
  custom: {
    50: '#94a8f3',
    500: '#5786ec',
    950: '#000000',
  },
}
SCSS
$custom: #5786ec;
$custom-light: #94a8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5786ec",
  "rgb": {
    "r": 87,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 221.074,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63626,
    "c": 0.1616,
    "h": 263.8
  },
  "luminance": 0.25133
}

Semantic roles & 50–950 ramp

primary
#5786EC
secondary
#EAD9B5
accent
#9A0ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5786EC

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

Preview Lab → · Contrast checker → · Palette generator →

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