#5787ED#5787ED

#5787ED is a light, vivid blue. Relative luminance 0.255; OKLCH L 63.9% C 0.162 H 263.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5787ED
RGBrgb(87, 135, 237)
HSLhsl(221, 81%, 64%)
HSVhsv(221, 63%, 93%)
CMYKcmyk(63.3%, 43%, 0%, 7.1%)
CIE-LABlab(57.53, 15.27, -56.33)
CIE-LCHlch(57.53, 58.37, 285.17°)
OKLaboklab(63.9% -0.0182 -0.1607)
OKLCHoklch(63.9% 0.162 263.5)
XYZxyz(27.8752, 25.4660, 83.5508)
Luminance0.2547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5787ED #EDBD57
analogous
#57D2ED #5787ED #7257ED
triadic
#5787ED #ED5787 #87ED57
tetradic
#5787ED #ED57D2 #EDBD57 #57ED72
square
#5787ED #ED57D2 #EDBD57 #57ED72
split-complementary
#5787ED #ED7257 #D2ED57
monochromatic
#1448B6 #2060E7 #5787ED #8EAEF3 #C6D6F9

Accessibility & contrast

On white

3.45
#5787ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#5787ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5787ED
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5787ED#FFFFFF#000000##000000
##5787ED1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F1
Deuteranopia (green-blind)
#3F84EB
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5787ed;
/* rgb */ color: rgb(87, 135, 237);
/* oklch */ color: oklch(63.9% 0.162 263.5);
Tailwind
colors: {
  custom: {
    50: '#94a9f3',
    500: '#5787ed',
    950: '#000000',
  },
}
SCSS
$custom: #5787ed;
$custom-light: #94a9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5787ed",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 220.8,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63895,
    "c": 0.16177,
    "h": 263.5
  },
  "luminance": 0.25469
}

Semantic roles & 50–950 ramp

primary
#5787ED
secondary
#EAD9B5
accent
#9909DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5787ED

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

Preview Lab → · Contrast checker → · Palette generator →

#5787ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva