#5787DD#5787DD

#5787DD is a light, vivid blue. Relative luminance 0.246; OKLCH L 62.9% C 0.140 H 261.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5787DD
RGBrgb(87, 135, 221)
HSLhsl(219, 66%, 60%)
HSVhsv(219, 61%, 87%)
CMYKcmyk(60.6%, 38.9%, 0%, 13.3%)
CIE-LABlab(56.66, 9.90, -48.80)
CIE-LCHlch(56.66, 49.79, 281.47°)
OKLaboklab(62.94% -0.0214 -0.1386)
OKLCHoklch(62.94% 0.14 261.2)
XYZxyz(25.6410, 24.5724, 71.7843)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5787DD #DDAD57
analogous
#57CADD #5787DD #6A57DD
triadic
#5787DD #DD5787 #87DD57
tetradic
#5787DD #DD57CA #DDAD57 #57DD6A
square
#5787DD #DD57CA #DDAD57 #57DD6A
split-complementary
#5787DD #DD6A57 #CADD57
monochromatic
#1F4B9A #2A64CD #5787DD #8AABE7 #BDD0F2

Accessibility & contrast

On white

3.55
#5787DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#5787DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5787DD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5787DD#FFFFFF#000000##000000
##5787DD1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#628FE0
Deuteranopia (green-blind)
#4F82DB
Tritanopia (blue-blind)
#009AA7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5787dd;
/* rgb */ color: rgb(87, 135, 221);
/* oklch */ color: oklch(62.9% 0.140 261.2);
Tailwind
colors: {
  custom: {
    50: '#91a9e8',
    500: '#5787dd',
    950: '#000000',
  },
}
SCSS
$custom: #5787dd;
$custom-light: #91a9e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5787dd",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 221
  },
  "hsl": {
    "h": 218.507,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6294,
    "c": 0.14029,
    "h": 261.2
  },
  "luminance": 0.24575
}

Semantic roles & 50–950 ramp

primary
#5787DD
secondary
#E1CFAE
accent
#8D17CE
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5787DD

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

Preview Lab → · Contrast checker → · Palette generator →

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