#5D87EF#5D87EF

#5D87EF is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.3% C 0.162 H 265.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5D87EF
RGBrgb(93, 135, 239)
HSLhsl(223, 82%, 65%)
HSVhsv(223, 61%, 94%)
CMYKcmyk(61.1%, 43.5%, 0%, 6.3%)
CIE-LABlab(57.93, 17.00, -56.78)
CIE-LCHlch(57.93, 59.27, 286.66°)
OKLaboklab(64.32% -0.0127 -0.162)
OKLCHoklch(64.32% 0.162 265.5)
XYZxyz(28.7528, 25.8846, 85.1256)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87EF #EFC55D
analogous
#5DD0EF #5D87EF #7C5DEF
triadic
#5D87EF #EF5D87 #87EF5D
tetradic
#5D87EF #EF5DD0 #EFC55D #5DEF7C
square
#5D87EF #EF5DD0 #EFC55D #5DEF7C
split-complementary
#5D87EF #EF7C5D #D0EF5D
monochromatic
#1344BF #255EE9 #5D87EF #95B0F5 #CCDAFA

Accessibility & contrast

On white

3.40
#5D87EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5D87EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D87EF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D87EF#FFFFFF#000000##000000
##5D87EF1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F3
Deuteranopia (green-blind)
#4085ED
Tritanopia (blue-blind)
#009FAF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5d87ef;
/* rgb */ color: rgb(93, 135, 239);
/* oklch */ color: oklch(64.3% 0.162 265.5);
Tailwind
colors: {
  custom: {
    50: '#97a9f5',
    500: '#5d87ef',
    950: '#000000',
  },
}
SCSS
$custom: #5d87ef;
$custom-light: #97a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87ef",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 222.74,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64317,
    "c": 0.16245,
    "h": 265.5
  },
  "luminance": 0.25887
}

Semantic roles & 50–950 ramp

primary
#5D87EF
secondary
#EDDEBB
accent
#A007DE
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5D87EF

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

Preview Lab → · Contrast checker → · Palette generator →

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