#5788E8#5788E8

#5788E8 is a light, vivid blue. Relative luminance 0.255; OKLCH L 63.8% C 0.154 H 262.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5788E8
RGBrgb(87, 136, 232)
HSLhsl(220, 76%, 63%)
HSVhsv(220, 63%, 91%)
CMYKcmyk(62.5%, 41.4%, 0%, 9%)
CIE-LABlab(57.52, 12.98, -53.57)
CIE-LCHlch(57.52, 55.12, 283.62°)
OKLaboklab(63.8% -0.0201 -0.1526)
OKLCHoklch(63.8% 0.154 262.5)
XYZxyz(27.2950, 25.4583, 79.8038)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5788E8 #E8B757
analogous
#57D1E8 #5788E8 #6E57E8
triadic
#5788E8 #E85788 #88E857
tetradic
#5788E8 #E857D1 #E8B757 #57E86E
square
#5788E8 #E857D1 #E8B757 #57E86E
split-complementary
#5788E8 #E86E57 #D1E857
monochromatic
#184AAD #2162E1 #5788E8 #8DAEEF #C3D4F7

Accessibility & contrast

On white

3.45
#5788E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#5788E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5788E8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5788E8#FFFFFF#000000##000000
##5788E81.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D91EC
Deuteranopia (green-blind)
#4784E6
Tritanopia (blue-blind)
#009EAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5788e8;
/* rgb */ color: rgb(87, 136, 232);
/* oklch */ color: oklch(63.8% 0.154 262.5);
Tailwind
colors: {
  custom: {
    50: '#93aaf0',
    500: '#5788e8',
    950: '#000000',
  },
}
SCSS
$custom: #5788e8;
$custom-light: #93aaf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5788e8",
  "rgb": {
    "r": 87,
    "g": 136,
    "b": 232
  },
  "hsl": {
    "h": 219.724,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63799,
    "c": 0.15393,
    "h": 262.5
  },
  "luminance": 0.25461
}

Semantic roles & 50–950 ramp

primary
#5788E8
secondary
#E8D6B3
accent
#940DD8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5788E8

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

Preview Lab → · Contrast checker → · Palette generator →

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