#5786D9#5786D9

#5786D9 is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.5% C 0.136 H 261.0°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5786D9
RGBrgb(87, 134, 217)
HSLhsl(218, 63%, 60%)
HSVhsv(218, 60%, 85%)
CMYKcmyk(59.9%, 38.2%, 0%, 14.9%)
CIE-LABlab(56.17, 9.17, -47.32)
CIE-LCHlch(56.17, 48.20, 280.97°)
OKLaboklab(62.5% -0.0212 -0.1343)
OKLCHoklch(62.5% 0.136 261)
XYZxyz(24.9756, 24.0840, 68.9647)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5786D9 #D9AA57
analogous
#57C7D9 #5786D9 #6957D9
triadic
#5786D9 #D95786 #86D957
tetradic
#5786D9 #D957C7 #D9AA57 #57D969
square
#5786D9 #D957C7 #D9AA57 #57D969
split-complementary
#5786D9 #D96957 #C7D957
monochromatic
#214B94 #2D64C6 #5786D9 #89AAE4 #BBCEF0

Accessibility & contrast

On white

3.61
#5786D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5786D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5786D9
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5786D9#FFFFFF#000000##000000
##5786D91.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#628DDC
Deuteranopia (green-blind)
#5181D7
Tritanopia (blue-blind)
#0099A5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5786d9;
/* rgb */ color: rgb(87, 134, 217);
/* oklch */ color: oklch(62.5% 0.136 261.0);
Tailwind
colors: {
  custom: {
    50: '#91a8e5',
    500: '#5786d9',
    950: '#000000',
  },
}
SCSS
$custom: #5786d9;
$custom-light: #91a8e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5786d9",
  "rgb": {
    "r": 87,
    "g": 134,
    "b": 217
  },
  "hsl": {
    "h": 218.308,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62496,
    "c": 0.136,
    "h": 261
  },
  "luminance": 0.24086
}

Semantic roles & 50–950 ramp

primary
#5786D9
secondary
#DFCDAD
accent
#AB42E6
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5786D9

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

Preview Lab → · Contrast checker → · Palette generator →

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