#5788EF#5788EF

#5788EF is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.2% C 0.163 H 263.4°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5788EF
RGBrgb(87, 136, 239)
HSLhsl(221, 83%, 64%)
HSVhsv(221, 64%, 94%)
CMYKcmyk(63.6%, 43.1%, 0%, 6.3%)
CIE-LABlab(57.91, 15.35, -56.83)
CIE-LCHlch(57.91, 58.87, 285.11°)
OKLaboklab(64.22% -0.0189 -0.1622)
OKLCHoklch(64.22% 0.163 263.4)
XYZxyz(28.3092, 25.8639, 85.1450)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5788EF #EFBE57
analogous
#57D4EF #5788EF #7257EF
triadic
#5788EF #EF5788 #88EF57
tetradic
#5788EF #EF57D4 #EFBE57 #57EF72
square
#5788EF #EF57D4 #EFBE57 #57EF72
split-complementary
#5788EF #EF7257 #D4EF57
monochromatic
#1248BA #1F60EA #5788EF #8FB0F4 #C7D7FA

Accessibility & contrast

On white

3.40
#5788EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#5788EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5788EF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5788EF#FFFFFF#000000##000000
##5788EF1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5893F3
Deuteranopia (green-blind)
#3F85ED
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5788ef;
/* rgb */ color: rgb(87, 136, 239);
/* oklch */ color: oklch(64.2% 0.163 263.4);
Tailwind
colors: {
  custom: {
    50: '#94aaf5',
    500: '#5788ef',
    950: '#000000',
  },
}
SCSS
$custom: #5788ef;
$custom-light: #94aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5788ef",
  "rgb": {
    "r": 87,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 220.658,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64224,
    "c": 0.16329,
    "h": 263.4
  },
  "luminance": 0.25867
}

Semantic roles & 50–950 ramp

primary
#5788EF
secondary
#ECDAB6
accent
#9906DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5788EF

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

Preview Lab → · Contrast checker → · Palette generator →

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