#5786DC#5786DC

#5786DC is a light, vivid blue. Relative luminance 0.242; OKLCH L 62.7% C 0.140 H 261.6°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5786DC
RGBrgb(87, 134, 220)
HSLhsl(219, 66%, 60%)
HSVhsv(219, 60%, 86%)
CMYKcmyk(60.5%, 39.1%, 0%, 13.7%)
CIE-LABlab(56.33, 10.17, -48.76)
CIE-LCHlch(56.33, 49.81, 281.78°)
OKLaboklab(62.67% -0.0206 -0.1385)
OKLCHoklch(62.67% 0.14 261.6)
XYZxyz(25.3693, 24.2415, 71.0384)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5786DC #DCAD57
analogous
#57C8DC #5786DC #6A57DC
triadic
#5786DC #DC5786 #86DC57
tetradic
#5786DC #DC57C8 #DCAD57 #57DC6A
square
#5786DC #DC57C8 #DCAD57 #57DC6A
split-complementary
#5786DC #DC6A57 #C8DC57
monochromatic
#204B99 #2A63CB #5786DC #8AAAE7 #BCCFF1

Accessibility & contrast

On white

3.59
#5786DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#5786DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5786DC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5786DC#FFFFFF#000000##000000
##5786DC1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EDF
Deuteranopia (green-blind)
#4E81DA
Tritanopia (blue-blind)
#0099A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5786dc;
/* rgb */ color: rgb(87, 134, 220);
/* oklch */ color: oklch(62.7% 0.140 261.6);
Tailwind
colors: {
  custom: {
    50: '#91a8e7',
    500: '#5786dc',
    950: '#000000',
  },
}
SCSS
$custom: #5786dc;
$custom-light: #91a8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5786dc",
  "rgb": {
    "r": 87,
    "g": 134,
    "b": 220
  },
  "hsl": {
    "h": 218.797,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62669,
    "c": 0.14006,
    "h": 261.6
  },
  "luminance": 0.24244
}

Semantic roles & 50–950 ramp

primary
#5786DC
secondary
#E1CFAE
accent
#8D18CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5786DC

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

Preview Lab → · Contrast checker → · Palette generator →

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