#5786F0#5786F0

#5786F0 is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.9% C 0.167 H 264.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5786F0
RGBrgb(87, 134, 240)
HSLhsl(222, 84%, 64%)
HSVhsv(222, 64%, 94%)
CMYKcmyk(63.7%, 44.2%, 0%, 5.9%)
CIE-LABlab(57.43, 16.89, -58.15)
CIE-LCHlch(57.43, 60.55, 286.20°)
OKLaboklab(63.88% -0.0168 -0.1661)
OKLCHoklch(63.88% 0.167 264.2)
XYZxyz(28.1783, 25.3651, 85.8321)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5786F0 #F0C157
analogous
#57D2F0 #5786F0 #7557F0
triadic
#5786F0 #F05786 #86F057
tetradic
#5786F0 #F057D2 #F0C157 #57F075
square
#5786F0 #F057D2 #F0C157 #57F075
split-complementary
#5786F0 #F07557 #D2F057
monochromatic
#1145BC #1F5EEB #5786F0 #8FAEF5 #C7D7FA

Accessibility & contrast

On white

3.46
#5786F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#5786F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5786F0
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5786F0#FFFFFF#000000##000000
##5786F01.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F4
Deuteranopia (green-blind)
#3983EE
Tritanopia (blue-blind)
#009EAF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5786f0;
/* rgb */ color: rgb(87, 134, 240);
/* oklch */ color: oklch(63.9% 0.167 264.2);
Tailwind
colors: {
  custom: {
    50: '#94a8f5',
    500: '#5786f0',
    950: '#000000',
  },
}
SCSS
$custom: #5786f0;
$custom-light: #94a8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5786f0",
  "rgb": {
    "r": 87,
    "g": 134,
    "b": 240
  },
  "hsl": {
    "h": 221.569,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63875,
    "c": 0.16695,
    "h": 264.2
  },
  "luminance": 0.25368
}

Semantic roles & 50–950 ramp

primary
#5786F0
secondary
#ECDCB7
accent
#9D05E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5786F0

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

Preview Lab → · Contrast checker → · Palette generator →

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