#5786DF#5786DF

#5786DF is a light, vivid blue. Relative luminance 0.244; OKLCH L 62.8% C 0.144 H 262.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5786DF
RGBrgb(87, 134, 223)
HSLhsl(219, 68%, 61%)
HSVhsv(219, 61%, 87%)
CMYKcmyk(61%, 39.9%, 0%, 12.5%)
CIE-LABlab(56.49, 11.17, -50.19)
CIE-LCHlch(56.49, 51.41, 282.55°)
OKLaboklab(62.84% -0.0199 -0.1427)
OKLCHoklch(62.84% 0.144 262.1)
XYZxyz(25.7702, 24.4019, 73.1497)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5786DF #DFB057
analogous
#57CADF #5786DF #6C57DF
triadic
#5786DF #DF5786 #86DF57
tetradic
#5786DF #DF57CA #DFB057 #57DF6C
square
#5786DF #DF57CA #DFB057 #57DF6C
split-complementary
#5786DF #DF6C57 #CADF57
monochromatic
#1E4A9E #2862D1 #5786DF #8AABE9 #BED0F3

Accessibility & contrast

On white

3.57
#5786DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#5786DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5786DF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5786DF#FFFFFF#000000##000000
##5786DF1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE3
Deuteranopia (green-blind)
#4C82DD
Tritanopia (blue-blind)
#009AA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5786df;
/* rgb */ color: rgb(87, 134, 223);
/* oklch */ color: oklch(62.8% 0.144 262.1);
Tailwind
colors: {
  custom: {
    50: '#92a8e9',
    500: '#5786df',
    950: '#000000',
  },
}
SCSS
$custom: #5786df;
$custom-light: #92a8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5786df",
  "rgb": {
    "r": 87,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 219.265,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62844,
    "c": 0.1441,
    "h": 262.1
  },
  "luminance": 0.24404
}

Semantic roles & 50–950 ramp

primary
#5786DF
secondary
#E3D1AF
accent
#9016D0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5786DF

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

Preview Lab → · Contrast checker → · Palette generator →

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