#5787DA#5787DA

#5787DA is a light, vivid blue. Relative luminance 0.244; OKLCH L 62.8% C 0.136 H 260.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5787DA
RGBrgb(87, 135, 218)
HSLhsl(218, 64%, 60%)
HSVhsv(218, 60%, 85%)
CMYKcmyk(60.1%, 38.1%, 0%, 14.5%)
CIE-LABlab(56.50, 8.90, -47.37)
CIE-LCHlch(56.50, 48.20, 280.64°)
OKLaboklab(62.77% -0.022 -0.1344)
OKLCHoklch(62.77% 0.136 260.7)
XYZxyz(25.2449, 24.4139, 69.6981)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5787DA #DAAA57
analogous
#57C9DA #5787DA #6957DA
triadic
#5787DA #DA5787 #87DA57
tetradic
#5787DA #DA57C9 #DAAA57 #57DA69
square
#5787DA #DA57C9 #DAAA57 #57DA69
split-complementary
#5787DA #DA6957 #C9DA57
monochromatic
#214C96 #2C65C8 #5787DA #89ABE5 #BBCFF0

Accessibility & contrast

On white

3.57
#5787DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#5787DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5787DA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5787DA#FFFFFF#000000##000000
##5787DA1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#638EDD
Deuteranopia (green-blind)
#5282D8
Tritanopia (blue-blind)
#009AA6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5787da;
/* rgb */ color: rgb(87, 135, 218);
/* oklch */ color: oklch(62.8% 0.136 260.7);
Tailwind
colors: {
  custom: {
    50: '#91a9e6',
    500: '#5787da',
    950: '#000000',
  },
}
SCSS
$custom: #5787da;
$custom-light: #91a9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5787da",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 218.015,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62768,
    "c": 0.13624,
    "h": 260.7
  },
  "luminance": 0.24416
}

Semantic roles & 50–950 ramp

primary
#5787DA
secondary
#E0CDAD
accent
#AA41E7
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5787DA

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

Preview Lab → · Contrast checker → · Palette generator →

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