#5D87ED#5D87ED

#5D87ED is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.2% C 0.160 H 265.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5D87ED
RGBrgb(93, 135, 237)
HSLhsl(223, 80%, 65%)
HSVhsv(223, 61%, 93%)
CMYKcmyk(60.8%, 43%, 0%, 7.1%)
CIE-LABlab(57.82, 16.33, -55.85)
CIE-LCHlch(57.82, 58.19, 286.30°)
OKLaboklab(64.2% -0.013 -0.1592)
OKLCHoklch(64.2% 0.16 265.3)
XYZxyz(28.4590, 25.7670, 83.5781)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87ED #EDC35D
analogous
#5DCFED #5D87ED #7B5DED
triadic
#5D87ED #ED5D87 #87ED5D
tetradic
#5D87ED #ED5DCF #EDC35D #5DED7B
square
#5D87ED #ED5DCF #EDC35D #5DED7B
split-complementary
#5D87ED #ED7B5D #CFED5D
monochromatic
#1545BB #265EE7 #5D87ED #94B0F3 #CBD9F9

Accessibility & contrast

On white

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

On black

6.15
#5D87ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D87ED
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D87ED#FFFFFF#000000##000000
##5D87ED1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F1
Deuteranopia (green-blind)
#4385EB
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5d87ed;
/* rgb */ color: rgb(93, 135, 237);
/* oklch */ color: oklch(64.2% 0.160 265.3);
Tailwind
colors: {
  custom: {
    50: '#97a9f3',
    500: '#5d87ed',
    950: '#000000',
  },
}
SCSS
$custom: #5d87ed;
$custom-light: #97a9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87ed",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 222.5,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64195,
    "c": 0.15976,
    "h": 265.3
  },
  "luminance": 0.2577
}

Semantic roles & 50–950 ramp

primary
#5D87ED
secondary
#ECDDBA
accent
#9F09DC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5D87ED

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

Preview Lab → · Contrast checker → · Palette generator →

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