#5786DA#5786DA

#5786DA is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.6% C 0.137 H 261.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5786DA
RGBrgb(87, 134, 218)
HSLhsl(218, 64%, 60%)
HSVhsv(218, 60%, 85%)
CMYKcmyk(60.1%, 38.5%, 0%, 14.5%)
CIE-LABlab(56.22, 9.50, -47.80)
CIE-LCHlch(56.22, 48.74, 281.24°)
OKLaboklab(62.55% -0.021 -0.1357)
OKLCHoklch(62.55% 0.137 261.2)
XYZxyz(25.1061, 24.1362, 69.6518)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5786DA #DAAB57
analogous
#57C8DA #5786DA #6957DA
triadic
#5786DA #DA5786 #86DA57
tetradic
#5786DA #DA57C8 #DAAB57 #57DA69
square
#5786DA #DA57C8 #DAAB57 #57DA69
split-complementary
#5786DA #DA6957 #C8DA57
monochromatic
#214B96 #2C64C8 #5786DA #89AAE5 #BBCEF0

Accessibility & contrast

On white

3.60
#5786DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5786DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5786DA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5786DA#FFFFFF#000000##000000
##5786DA1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#628DDD
Deuteranopia (green-blind)
#5081D8
Tritanopia (blue-blind)
#0099A5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5786da;
/* rgb */ color: rgb(87, 134, 218);
/* oklch */ color: oklch(62.6% 0.137 261.2);
Tailwind
colors: {
  custom: {
    50: '#91a8e6',
    500: '#5786da',
    950: '#000000',
  },
}
SCSS
$custom: #5786da;
$custom-light: #91a8e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5786da",
  "rgb": {
    "r": 87,
    "g": 134,
    "b": 218
  },
  "hsl": {
    "h": 218.473,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62554,
    "c": 0.13736,
    "h": 261.2
  },
  "luminance": 0.24138
}

Semantic roles & 50–950 ramp

primary
#5786DA
secondary
#E0CEAD
accent
#AB41E7
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5786DA

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

Preview Lab → · Contrast checker → · Palette generator →

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