#5786ED#5786ED

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

Color values

HEX#5786ED
RGBrgb(87, 134, 237)
HSLhsl(221, 81%, 64%)
HSVhsv(221, 63%, 93%)
CMYKcmyk(63.3%, 43.5%, 0%, 7.1%)
CIE-LABlab(57.26, 15.88, -56.76)
CIE-LCHlch(57.26, 58.94, 285.63°)
OKLaboklab(63.69% -0.0173 -0.162)
OKLCHoklch(63.69% 0.163 263.9)
XYZxyz(27.7363, 25.1883, 83.5045)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5786ED #EDBE57
analogous
#57D1ED #5786ED #7357ED
triadic
#5786ED #ED5786 #86ED57
tetradic
#5786ED #ED57D1 #EDBE57 #57ED73
square
#5786ED #ED57D1 #EDBE57 #57ED73
split-complementary
#5786ED #ED7357 #D1ED57
monochromatic
#1446B6 #205EE7 #5786ED #8EAEF3 #C6D6F9

Accessibility & contrast

On white

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

On black

6.04
#5786ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5786ED
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5786ED#FFFFFF#000000##000000
##5786ED1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F1
Deuteranopia (green-blind)
#3D83EB
Tritanopia (blue-blind)
#009DAE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5786ed;
/* rgb */ color: rgb(87, 134, 237);
/* oklch */ color: oklch(63.7% 0.163 263.9);
Tailwind
colors: {
  custom: {
    50: '#94a8f3',
    500: '#5786ed',
    950: '#000000',
  },
}
SCSS
$custom: #5786ed;
$custom-light: #94a8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5786ed",
  "rgb": {
    "r": 87,
    "g": 134,
    "b": 237
  },
  "hsl": {
    "h": 221.2,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63688,
    "c": 0.16294,
    "h": 263.9
  },
  "luminance": 0.25191
}

Semantic roles & 50–950 ramp

primary
#5786ED
secondary
#EADAB5
accent
#9A09DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5786ED

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

Preview Lab → · Contrast checker → · Palette generator →

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