#5788DC#5788DC

#5788DC is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.1% C 0.138 H 260.5°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5788DC
RGBrgb(87, 136, 220)
HSLhsl(218, 66%, 60%)
HSVhsv(218, 60%, 86%)
CMYKcmyk(60.5%, 38.2%, 0%, 13.7%)
CIE-LABlab(56.88, 8.97, -47.88)
CIE-LCHlch(56.88, 48.72, 280.61°)
OKLaboklab(63.1% -0.0226 -0.136)
OKLCHoklch(63.1% 0.138 260.5)
XYZxyz(25.6484, 24.7996, 71.1314)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5788DC #DCAB57
analogous
#57CADC #5788DC #6957DC
triadic
#5788DC #DC5788 #88DC57
tetradic
#5788DC #DC57CA #DCAB57 #57DC69
square
#5788DC #DC57CA #DCAB57 #57DC69
split-complementary
#5788DC #DC6957 #CADC57
monochromatic
#204C99 #2A66CB #5788DC #8AACE7 #BCD0F1

Accessibility & contrast

On white

3.52
#5788DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#5788DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5788DC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5788DC#FFFFFF#000000##000000
##5788DC1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FDF
Deuteranopia (green-blind)
#5283DA
Tritanopia (blue-blind)
#009BA7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5788dc;
/* rgb */ color: rgb(87, 136, 220);
/* oklch */ color: oklch(63.1% 0.138 260.5);
Tailwind
colors: {
  custom: {
    50: '#91aae7',
    500: '#5788dc',
    950: '#000000',
  },
}
SCSS
$custom: #5788dc;
$custom-light: #91aae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5788dc",
  "rgb": {
    "r": 87,
    "g": 136,
    "b": 220
  },
  "hsl": {
    "h": 217.895,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63096,
    "c": 0.13783,
    "h": 260.5
  },
  "luminance": 0.24802
}

Semantic roles & 50–950 ramp

primary
#5788DC
secondary
#E1CEAE
accent
#8B18CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5788DC

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

Preview Lab → · Contrast checker → · Palette generator →

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