#5788F4#5788F4

#5788F4 is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.5% C 0.170 H 263.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5788F4
RGBrgb(87, 136, 244)
HSLhsl(221, 88%, 65%)
HSVhsv(221, 64%, 96%)
CMYKcmyk(64.3%, 44.3%, 0%, 4.3%)
CIE-LABlab(58.19, 17.04, -59.14)
CIE-LCHlch(58.19, 61.55, 286.07°)
OKLaboklab(64.54% -0.018 -0.169)
OKLCHoklch(64.54% 0.17 263.9)
XYZxyz(29.0581, 26.1635, 89.0891)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5788F4 #F4C357
analogous
#57D6F4 #5788F4 #7557F4
triadic
#5788F4 #F45788 #88F457
tetradic
#5788F4 #F457D6 #F4C357 #57F475
square
#5788F4 #F457D6 #F4C357 #57F475
split-complementary
#5788F4 #F47557 #D6F457
monochromatic
#0D46C4 #1E5FF0 #5788F4 #90B1F8 #CAD9FC

Accessibility & contrast

On white

3.37
#5788F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#5788F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5788F4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5788F4#FFFFFF#000000##000000
##5788F41.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5494F8
Deuteranopia (green-blind)
#3985F2
Tritanopia (blue-blind)
#00A1B2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5788f4;
/* rgb */ color: rgb(87, 136, 244);
/* oklch */ color: oklch(64.5% 0.170 263.9);
Tailwind
colors: {
  custom: {
    50: '#95aaf8',
    500: '#5788f4',
    950: '#000000',
  },
}
SCSS
$custom: #5788f4;
$custom-light: #95aaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5788f4",
  "rgb": {
    "r": 87,
    "g": 136,
    "b": 244
  },
  "hsl": {
    "h": 221.274,
    "s": 87.709,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64535,
    "c": 0.16995,
    "h": 263.9
  },
  "luminance": 0.26166
}

Semantic roles & 50–950 ramp

primary
#5788F4
secondary
#EEDDB9
accent
#9D01E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5788F4

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

Preview Lab → · Contrast checker → · Palette generator →

#5788F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva