#5786FD#5786FD

#5786FD is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.7% C 0.184 H 265.4°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5786FD
RGBrgb(87, 134, 253)
HSLhsl(223, 98%, 67%)
HSVhsv(223, 66%, 99%)
CMYKcmyk(65.6%, 47%, 0%, 0.8%)
CIE-LABlab(58.19, 21.31, -64.10)
CIE-LCHlch(58.19, 67.55, 288.39°)
OKLaboklab(64.71% -0.0149 -0.1836)
OKLCHoklch(64.71% 0.184 265.4)
XYZxyz(30.1790, 26.1654, 96.3694)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5786FD #FDCE57
analogous
#57D9FD #5786FD #7B57FD
triadic
#5786FD #FD5786 #86FD57
tetradic
#5786FD #FD57D9 #FDCE57 #57FD7B
square
#5786FD #FD57D9 #FDCE57 #57FD7B
split-complementary
#5786FD #FD7B57 #D9FD57
monochromatic
#033FD7 #1B5AFC #5786FD #93B2FE #D0DDFE

Accessibility & contrast

On white

3.37
#5786FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#5786FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5786FD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5786FD#FFFFFF#000000##000000
##5786FD1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#2285FB
Tritanopia (blue-blind)
#00A2B5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5786fd;
/* rgb */ color: rgb(87, 134, 253);
/* oklch */ color: oklch(64.7% 0.184 265.4);
Tailwind
colors: {
  custom: {
    50: '#96a8ff',
    500: '#5786fd',
    950: '#000000',
  },
}
SCSS
$custom: #5786fd;
$custom-light: #96a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5786fd",
  "rgb": {
    "r": 87,
    "g": 134,
    "b": 253
  },
  "hsl": {
    "h": 223.012,
    "s": 97.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64707,
    "c": 0.18421,
    "h": 265.4
  },
  "luminance": 0.26168
}

Semantic roles & 50–950 ramp

primary
#5786FD
secondary
#F3E3BD
accent
#A500E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5786FD

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

Preview Lab → · Contrast checker → · Palette generator →

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