#5788EA#5788EA

#5788EA is a light, vivid blue. Relative luminance 0.256; OKLCH L 63.9% C 0.157 H 262.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5788EA
RGBrgb(87, 136, 234)
HSLhsl(220, 78%, 63%)
HSVhsv(220, 63%, 92%)
CMYKcmyk(62.8%, 41.9%, 0%, 8.2%)
CIE-LABlab(57.63, 13.66, -54.50)
CIE-LCHlch(57.63, 56.19, 284.07°)
OKLaboklab(63.92% -0.0198 -0.1554)
OKLCHoklch(63.92% 0.157 262.7)
XYZxyz(27.5807, 25.5725, 81.3085)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5788EA #EAB957
analogous
#57D1EA #5788EA #6F57EA
triadic
#5788EA #EA5788 #88EA57
tetradic
#5788EA #EA57D1 #EAB957 #57EA6F
square
#5788EA #EA57D1 #EAB957 #57EA6F
split-complementary
#5788EA #EA6F57 #D1EA57
monochromatic
#164AB1 #2161E3 #5788EA #8DAFF1 #C4D5F8

Accessibility & contrast

On white

3.43
#5788EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#5788EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5788EA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5788EA#FFFFFF#000000##000000
##5788EA1.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EE
Deuteranopia (green-blind)
#4584E8
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5788ea;
/* rgb */ color: rgb(87, 136, 234);
/* oklch */ color: oklch(63.9% 0.157 262.7);
Tailwind
colors: {
  custom: {
    50: '#93aaf1',
    500: '#5788ea',
    950: '#000000',
  },
}
SCSS
$custom: #5788ea;
$custom-light: #93aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5788ea",
  "rgb": {
    "r": 87,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 220,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63919,
    "c": 0.15661,
    "h": 262.7
  },
  "luminance": 0.25575
}

Semantic roles & 50–950 ramp

primary
#5788EA
secondary
#E9D7B4
accent
#950BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5788EA

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

Preview Lab → · Contrast checker → · Palette generator →

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