#5786E7#5786E7

#5786E7 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.3% C 0.155 H 263.2°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5786E7
RGBrgb(87, 134, 231)
HSLhsl(220, 75%, 62%)
HSVhsv(220, 62%, 91%)
CMYKcmyk(62.3%, 42%, 0%, 9.4%)
CIE-LABlab(56.92, 13.85, -53.96)
CIE-LCHlch(56.92, 55.71, 284.40°)
OKLaboklab(63.32% -0.0184 -0.1538)
OKLCHoklch(63.32% 0.155 263.2)
XYZxyz(26.8744, 24.8435, 78.9648)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5786E7 #E7B857
analogous
#57CEE7 #5786E7 #7057E7
triadic
#5786E7 #E75786 #86E757
tetradic
#5786E7 #E757CE #E7B857 #57E770
square
#5786E7 #E757CE #E7B857 #57E770
split-complementary
#5786E7 #E77057 #CEE757
monochromatic
#1848AB #215FDF #5786E7 #8DADEF #C2D3F6

Accessibility & contrast

On white

3.52
#5786E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#5786E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5786E7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5786E7#FFFFFF#000000##000000
##5786E71.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A90EB
Deuteranopia (green-blind)
#4482E5
Tritanopia (blue-blind)
#009CAB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5786e7;
/* rgb */ color: rgb(87, 134, 231);
/* oklch */ color: oklch(63.3% 0.155 263.2);
Tailwind
colors: {
  custom: {
    50: '#93a8ef',
    500: '#5786e7',
    950: '#000000',
  },
}
SCSS
$custom: #5786e7;
$custom-light: #93a8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5786e7",
  "rgb": {
    "r": 87,
    "g": 134,
    "b": 231
  },
  "hsl": {
    "h": 220.417,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63321,
    "c": 0.15488,
    "h": 263.2
  },
  "luminance": 0.24846
}

Semantic roles & 50–950 ramp

primary
#5786E7
secondary
#E7D6B3
accent
#960ED7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5786E7

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

Preview Lab → · Contrast checker → · Palette generator →

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