#5786FA#5786FA

#5786FA is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.5% C 0.180 H 265.1°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5786FA
RGBrgb(87, 134, 250)
HSLhsl(223, 94%, 66%)
HSVhsv(223, 65%, 98%)
CMYKcmyk(65.2%, 46.4%, 0%, 2%)
CIE-LABlab(58.01, 20.29, -62.74)
CIE-LCHlch(58.01, 65.94, 287.92°)
OKLaboklab(64.51% -0.0153 -0.1796)
OKLCHoklch(64.51% 0.18 265.1)
XYZxyz(29.7049, 25.9757, 93.8723)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5786FA #FACB57
analogous
#57D8FA #5786FA #7957FA
triadic
#5786FA #FA5786 #86FA57
tetradic
#5786FA #FA57D8 #FACB57 #57FA79
square
#5786FA #FA57D8 #FACB57 #57FA79
split-complementary
#5786FA #FA7957 #D8FA57
monochromatic
#0641D0 #1C5BF8 #5786FA #92B1FC #CEDCFE

Accessibility & contrast

On white

3.39
#5786FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#5786FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5786FA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5786FA#FFFFFF#000000##000000
##5786FA1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B93FE
Deuteranopia (green-blind)
#2984F8
Tritanopia (blue-blind)
#00A1B4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5786fa;
/* rgb */ color: rgb(87, 134, 250);
/* oklch */ color: oklch(64.5% 0.180 265.1);
Tailwind
colors: {
  custom: {
    50: '#96a8fd',
    500: '#5786fa',
    950: '#000000',
  },
}
SCSS
$custom: #5786fa;
$custom-light: #96a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5786fa",
  "rgb": {
    "r": 87,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 222.699,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64511,
    "c": 0.18025,
    "h": 265.1
  },
  "luminance": 0.25979
}

Semantic roles & 50–950 ramp

primary
#5786FA
secondary
#F1E2BC
accent
#A300E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5786FA

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

Preview Lab → · Contrast checker → · Palette generator →

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