#5786E8#5786E8

#5786E8 is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.4% C 0.156 H 263.3°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5786E8
RGBrgb(87, 134, 232)
HSLhsl(221, 76%, 63%)
HSVhsv(221, 63%, 91%)
CMYKcmyk(62.5%, 42.2%, 0%, 9%)
CIE-LABlab(56.98, 14.19, -54.43)
CIE-LCHlch(56.98, 56.25, 284.61°)
OKLaboklab(63.38% -0.0182 -0.1552)
OKLCHoklch(63.38% 0.156 263.3)
XYZxyz(27.0160, 24.9002, 79.7108)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5786E8 #E8B957
analogous
#57CEE8 #5786E8 #7157E8
triadic
#5786E8 #E85786 #86E857
tetradic
#5786E8 #E857CE #E8B957 #57E871
square
#5786E8 #E857CE #E8B957 #57E871
split-complementary
#5786E8 #E87157 #CEE857
monochromatic
#1848AD #215FE1 #5786E8 #8DADEF #C3D4F7

Accessibility & contrast

On white

3.51
#5786E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#5786E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5786E8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5786E8#FFFFFF#000000##000000
##5786E81.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5990EC
Deuteranopia (green-blind)
#4383E6
Tritanopia (blue-blind)
#009CAC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5786e8;
/* rgb */ color: rgb(87, 134, 232);
/* oklch */ color: oklch(63.4% 0.156 263.3);
Tailwind
colors: {
  custom: {
    50: '#93a8f0',
    500: '#5786e8',
    950: '#000000',
  },
}
SCSS
$custom: #5786e8;
$custom-light: #93a8f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5786e8",
  "rgb": {
    "r": 87,
    "g": 134,
    "b": 232
  },
  "hsl": {
    "h": 220.552,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63382,
    "c": 0.15623,
    "h": 263.3
  },
  "luminance": 0.24903
}

Semantic roles & 50–950 ramp

primary
#5786E8
secondary
#E8D7B3
accent
#960DD8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5786E8

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

Preview Lab → · Contrast checker → · Palette generator →

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