#5784EA#5784EA

#5784EA is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.1% C 0.161 H 264.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5784EA
RGBrgb(87, 132, 234)
HSLhsl(222, 78%, 63%)
HSVhsv(222, 63%, 92%)
CMYKcmyk(62.8%, 43.6%, 0%, 8.2%)
CIE-LABlab(56.55, 16.07, -56.22)
CIE-LCHlch(56.55, 58.47, 285.95°)
OKLaboklab(63.09% -0.0158 -0.1605)
OKLCHoklch(63.09% 0.161 264.4)
XYZxyz(27.0279, 24.4668, 81.1242)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5784EA #EABD57
analogous
#57CDEA #5784EA #7457EA
triadic
#5784EA #EA5784 #84EA57
tetradic
#5784EA #EA57CD #EABD57 #57EA74
square
#5784EA #EA57CD #EABD57 #57EA74
split-complementary
#5784EA #EA7457 #CDEA57
monochromatic
#1645B1 #215CE3 #5784EA #8DACF1 #C4D4F8

Accessibility & contrast

On white

3.56
#5784EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#5784EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5784EA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5784EA#FFFFFF#000000##000000
##5784EA1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEE
Deuteranopia (green-blind)
#3D81E8
Tritanopia (blue-blind)
#009BAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5784ea;
/* rgb */ color: rgb(87, 132, 234);
/* oklch */ color: oklch(63.1% 0.161 264.4);
Tailwind
colors: {
  custom: {
    50: '#93a7f1',
    500: '#5784ea',
    950: '#000000',
  },
}
SCSS
$custom: #5784ea;
$custom-light: #93a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5784ea",
  "rgb": {
    "r": 87,
    "g": 132,
    "b": 234
  },
  "hsl": {
    "h": 221.633,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6309,
    "c": 0.16124,
    "h": 264.4
  },
  "luminance": 0.24469
}

Semantic roles & 50–950 ramp

primary
#5784EA
secondary
#E9D9B4
accent
#9B0BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5784EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5784EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva