#5788FA#5788FA

#5788FA is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.9% C 0.178 H 264.5°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5788FA
RGBrgb(87, 136, 250)
HSLhsl(222, 94%, 66%)
HSVhsv(222, 65%, 98%)
CMYKcmyk(65.2%, 45.6%, 0%, 2%)
CIE-LABlab(58.54, 19.08, -61.90)
CIE-LCHlch(58.54, 64.77, 287.13°)
OKLaboklab(64.91% -0.0171 -0.1771)
OKLCHoklch(64.91% 0.178 264.5)
XYZxyz(29.9839, 26.5338, 93.9653)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5788FA #FAC957
analogous
#57DAFA #5788FA #7757FA
triadic
#5788FA #FA5788 #88FA57
tetradic
#5788FA #FA57DA #FAC957 #57FA77
square
#5788FA #FA57DA #FAC957 #57FA77
split-complementary
#5788FA #FA7757 #DAFA57
monochromatic
#0643D0 #1C5EF8 #5788FA #92B2FC #CEDCFE

Accessibility & contrast

On white

3.33
#5788FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#5788FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5788FA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5788FA#FFFFFF#000000##000000
##5788FA1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F95FE
Deuteranopia (green-blind)
#2F86F8
Tritanopia (blue-blind)
#00A2B5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5788fa;
/* rgb */ color: rgb(87, 136, 250);
/* oklch */ color: oklch(64.9% 0.178 264.5);
Tailwind
colors: {
  custom: {
    50: '#96aafd',
    500: '#5788fa',
    950: '#000000',
  },
}
SCSS
$custom: #5788fa;
$custom-light: #96aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#5788fa",
  "rgb": {
    "r": 87,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 221.963,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64914,
    "c": 0.1779,
    "h": 264.5
  },
  "luminance": 0.26537
}

Semantic roles & 50–950 ramp

primary
#5788FA
secondary
#F1E1BC
accent
#A100E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F18
muted
#7E7F86

Preview Lab

Preview with #5788FA

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

Preview Lab → · Contrast checker → · Palette generator →

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