#5786EE#5786EE

#5786EE is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.7% C 0.164 H 264.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5786EE
RGBrgb(87, 134, 238)
HSLhsl(221, 82%, 64%)
HSVhsv(221, 63%, 93%)
CMYKcmyk(63.4%, 43.7%, 0%, 6.7%)
CIE-LABlab(57.32, 16.21, -57.23)
CIE-LCHlch(57.32, 59.48, 285.82°)
OKLaboklab(63.75% -0.0171 -0.1634)
OKLCHoklch(63.75% 0.164 264)
XYZxyz(27.8828, 25.2469, 84.2761)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5786EE #EEBF57
analogous
#57D1EE #5786EE #7357EE
triadic
#5786EE #EE5786 #86EE57
tetradic
#5786EE #EE57D1 #EEBF57 #57EE73
square
#5786EE #EE57D1 #EEBF57 #57EE73
split-complementary
#5786EE #EE7357 #D1EE57
monochromatic
#1346B8 #1F5EE8 #5786EE #8FAEF4 #C6D6F9

Accessibility & contrast

On white

3.47
#5786EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#5786EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5786EE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5786EE#FFFFFF#000000##000000
##5786EE1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F2
Deuteranopia (green-blind)
#3C83EC
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5786ee;
/* rgb */ color: rgb(87, 134, 238);
/* oklch */ color: oklch(63.7% 0.164 264.0);
Tailwind
colors: {
  custom: {
    50: '#94a8f4',
    500: '#5786ee',
    950: '#000000',
  },
}
SCSS
$custom: #5786ee;
$custom-light: #94a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5786ee",
  "rgb": {
    "r": 87,
    "g": 134,
    "b": 238
  },
  "hsl": {
    "h": 221.325,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6375,
    "c": 0.16427,
    "h": 264
  },
  "luminance": 0.25249
}

Semantic roles & 50–950 ramp

primary
#5786EE
secondary
#EBDAB6
accent
#9B08DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5786EE

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

Preview Lab → · Contrast checker → · Palette generator →

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