#5786CE#5786CE

#5786CE is a mid, vivid blue. Relative luminance 0.235; OKLCH L 61.9% C 0.121 H 258.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5786CE
RGBrgb(87, 134, 206)
HSLhsl(216, 55%, 57%)
HSVhsv(216, 58%, 81%)
CMYKcmyk(57.8%, 35%, 0%, 19.2%)
CIE-LABlab(55.61, 5.55, -42.01)
CIE-LCHlch(55.61, 42.37, 277.52°)
OKLaboklab(61.88% -0.0238 -0.1188)
OKLCHoklch(61.88% 0.121 258.7)
XYZxyz(23.5923, 23.5307, 61.6792)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5786CE #CE9F57
analogous
#57C1CE #5786CE #6457CE
triadic
#5786CE #CE5786 #86CE57
tetradic
#5786CE #CE57C1 #CE9F57 #57CE64
square
#5786CE #CE57C1 #CE9F57 #57CE64
split-complementary
#5786CE #CE6457 #C1CE57
monochromatic
#274B84 #3467B3 #5786CE #86A8DC #B6CAEA

Accessibility & contrast

On white

3.68
#5786CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#5786CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5786CE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5786CE#FFFFFF#000000##000000
##5786CE1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#688BD1
Deuteranopia (green-blind)
#5980CC
Tritanopia (blue-blind)
#0096A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5786ce;
/* rgb */ color: rgb(87, 134, 206);
/* oklch */ color: oklch(61.9% 0.121 258.7);
Tailwind
colors: {
  custom: {
    50: '#8fa8dd',
    500: '#5786ce',
    950: '#000000',
  },
}
SCSS
$custom: #5786ce;
$custom-light: #8fa8dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5786ce",
  "rgb": {
    "r": 87,
    "g": 134,
    "b": 206
  },
  "hsl": {
    "h": 216.303,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61881,
    "c": 0.12118,
    "h": 258.7
  },
  "luminance": 0.23533
}

Semantic roles & 50–950 ramp

primary
#5786CE
secondary
#D8C5A8
accent
#A44ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5786CE

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

Preview Lab → · Contrast checker → · Palette generator →

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