#5788F2#5788F2

#5788F2 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.4% C 0.167 H 263.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5788F2
RGBrgb(87, 136, 242)
HSLhsl(221, 86%, 65%)
HSVhsv(221, 64%, 95%)
CMYKcmyk(64%, 43.8%, 0%, 5.1%)
CIE-LABlab(58.08, 16.36, -58.22)
CIE-LCHlch(58.08, 60.48, 285.70°)
OKLaboklab(64.41% -0.0184 -0.1663)
OKLCHoklch(64.41% 0.167 263.7)
XYZxyz(28.7561, 26.0427, 87.4985)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5788F2 #F2C157
analogous
#57D6F2 #5788F2 #7457F2
triadic
#5788F2 #F25788 #88F257
tetradic
#5788F2 #F257D6 #F2C157 #57F274
square
#5788F2 #F257D6 #F2C157 #57F274
split-complementary
#5788F2 #F27457 #D6F257
monochromatic
#0F47C0 #1E60EE #5788F2 #90B0F6 #C9D8FB

Accessibility & contrast

On white

3.38
#5788F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#5788F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5788F2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5788F2#FFFFFF#000000##000000
##5788F21.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5593F6
Deuteranopia (green-blind)
#3C85F0
Tritanopia (blue-blind)
#00A0B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5788f2;
/* rgb */ color: rgb(87, 136, 242);
/* oklch */ color: oklch(64.4% 0.167 263.7);
Tailwind
colors: {
  custom: {
    50: '#95aaf7',
    500: '#5788f2',
    950: '#000000',
  },
}
SCSS
$custom: #5788f2;
$custom-light: #95aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5788f2",
  "rgb": {
    "r": 87,
    "g": 136,
    "b": 242
  },
  "hsl": {
    "h": 221.032,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6441,
    "c": 0.16729,
    "h": 263.7
  },
  "luminance": 0.26045
}

Semantic roles & 50–950 ramp

primary
#5788F2
secondary
#EDDCB8
accent
#9C03E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5788F2

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

Preview Lab → · Contrast checker → · Palette generator →

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