#5D87EE#5D87EE

#5D87EE is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.3% C 0.161 H 265.4°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5D87EE
RGBrgb(93, 135, 238)
HSLhsl(223, 81%, 65%)
HSVhsv(223, 61%, 93%)
CMYKcmyk(60.9%, 43.3%, 0%, 6.7%)
CIE-LABlab(57.87, 16.66, -56.32)
CIE-LCHlch(57.87, 58.73, 286.48°)
OKLaboklab(64.26% -0.0128 -0.1606)
OKLCHoklch(64.26% 0.161 265.4)
XYZxyz(28.6055, 25.8257, 84.3497)
Luminance0.2583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87EE #EEC45D
analogous
#5DCFEE #5D87EE #7C5DEE
triadic
#5D87EE #EE5D87 #87EE5D
tetradic
#5D87EE #EE5DCF #EEC45D #5DEE7C
square
#5D87EE #EE5DCF #EEC45D #5DEE7C
split-complementary
#5D87EE #EE7C5D #CFEE5D
monochromatic
#1445BD #265EE8 #5D87EE #94B0F4 #CCD9FA

Accessibility & contrast

On white

3.41
#5D87EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#5D87EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D87EE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D87EE#FFFFFF#000000##000000
##5D87EE1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F2
Deuteranopia (green-blind)
#4285EC
Tritanopia (blue-blind)
#009EAF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5d87ee;
/* rgb */ color: rgb(93, 135, 238);
/* oklch */ color: oklch(64.3% 0.161 265.4);
Tailwind
colors: {
  custom: {
    50: '#97a9f4',
    500: '#5d87ee',
    950: '#000000',
  },
}
SCSS
$custom: #5d87ee;
$custom-light: #97a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87ee",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 222.621,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64256,
    "c": 0.16111,
    "h": 265.4
  },
  "luminance": 0.25828
}

Semantic roles & 50–950 ramp

primary
#5D87EE
secondary
#ECDEBB
accent
#A008DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5D87EE

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

Preview Lab → · Contrast checker → · Palette generator →

#5D87EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva