#5784E6#5784E6

#5784E6 is a light, vivid blue. Relative luminance 0.242; OKLCH L 62.8% C 0.156 H 263.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5784E6
RGBrgb(87, 132, 230)
HSLhsl(221, 74%, 62%)
HSVhsv(221, 62%, 90%)
CMYKcmyk(62.2%, 42.6%, 0%, 9.8%)
CIE-LABlab(56.33, 14.72, -54.35)
CIE-LCHlch(56.33, 56.31, 285.16°)
OKLaboklab(62.84% -0.0165 -0.155)
OKLCHoklch(62.84% 0.156 263.9)
XYZxyz(26.4597, 24.2395, 78.1319)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5784E6 #E6B957
analogous
#57CBE6 #5784E6 #7257E6
triadic
#5784E6 #E65784 #84E657
tetradic
#5784E6 #E657CB #E6B957 #57E672
square
#5784E6 #E657CB #E6B957 #57E672
split-complementary
#5784E6 #E67257 #CBE657
monochromatic
#1947A9 #225DDE #5784E6 #8CABEE #C2D2F6

Accessibility & contrast

On white

3.59
#5784E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#5784E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5784E6
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5784E6#FFFFFF#000000##000000
##5784E61.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#578EEA
Deuteranopia (green-blind)
#4181E4
Tritanopia (blue-blind)
#009AAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5784e6;
/* rgb */ color: rgb(87, 132, 230);
/* oklch */ color: oklch(62.8% 0.156 263.9);
Tailwind
colors: {
  custom: {
    50: '#93a7ee',
    500: '#5784e6',
    950: '#000000',
  },
}
SCSS
$custom: #5784e6;
$custom-light: #93a7ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5784e6",
  "rgb": {
    "r": 87,
    "g": 132,
    "b": 230
  },
  "hsl": {
    "h": 221.119,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62844,
    "c": 0.15585,
    "h": 263.9
  },
  "luminance": 0.24242
}

Semantic roles & 50–950 ramp

primary
#5784E6
secondary
#E7D6B2
accent
#980FD6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5784E6

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

Preview Lab → · Contrast checker → · Palette generator →

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