#5784E7#5784E7

#5784E7 is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.9% C 0.157 H 264.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5784E7
RGBrgb(87, 132, 231)
HSLhsl(221, 75%, 62%)
HSVhsv(221, 62%, 91%)
CMYKcmyk(62.3%, 42.9%, 0%, 9.4%)
CIE-LABlab(56.38, 15.06, -54.82)
CIE-LCHlch(56.38, 56.85, 285.36°)
OKLaboklab(62.91% -0.0164 -0.1563)
OKLCHoklch(62.91% 0.157 264)
XYZxyz(26.6005, 24.2959, 78.8736)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5784E7 #E7BA57
analogous
#57CCE7 #5784E7 #7257E7
triadic
#5784E7 #E75784 #84E757
tetradic
#5784E7 #E757CC #E7BA57 #57E772
square
#5784E7 #E757CC #E7BA57 #57E772
split-complementary
#5784E7 #E77257 #CCE757
monochromatic
#1846AB #215DDF #5784E7 #8DABEF #C2D2F6

Accessibility & contrast

On white

3.58
#5784E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#5784E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5784E7
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5784E7#FFFFFF#000000##000000
##5784E71.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#568EEB
Deuteranopia (green-blind)
#4081E5
Tritanopia (blue-blind)
#009AAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5784e7;
/* rgb */ color: rgb(87, 132, 231);
/* oklch */ color: oklch(62.9% 0.157 264.0);
Tailwind
colors: {
  custom: {
    50: '#93a7ef',
    500: '#5784e7',
    950: '#000000',
  },
}
SCSS
$custom: #5784e7;
$custom-light: #93a7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5784e7",
  "rgb": {
    "r": 87,
    "g": 132,
    "b": 231
  },
  "hsl": {
    "h": 221.25,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62905,
    "c": 0.1572,
    "h": 264
  },
  "luminance": 0.24298
}

Semantic roles & 50–950 ramp

primary
#5784E7
secondary
#E7D7B3
accent
#980ED7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5784E7

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

Preview Lab → · Contrast checker → · Palette generator →

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