#5D87EA#5D87EA

#5D87EA is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.0% C 0.156 H 265.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5D87EA
RGBrgb(93, 135, 234)
HSLhsl(222, 77%, 64%)
HSVhsv(222, 60%, 92%)
CMYKcmyk(60.3%, 42.3%, 0%, 8.2%)
CIE-LABlab(57.65, 15.34, -54.45)
CIE-LCHlch(57.65, 56.57, 285.73°)
OKLaboklab(64.01% -0.0135 -0.1551)
OKLCHoklch(64.01% 0.156 265)
XYZxyz(28.0244, 25.5932, 81.2891)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87EA #EAC05D
analogous
#5DCDEA #5D87EA #7A5DEA
triadic
#5D87EA #EA5D87 #87EA5D
tetradic
#5D87EA #EA5DCD #EAC05D #5DEA7A
square
#5D87EA #EA5DCD #EAC05D #5DEA7A
split-complementary
#5D87EA #EA7A5D #CDEA5D
monochromatic
#1746B5 #275FE3 #5D87EA #93AFF1 #C9D7F8

Accessibility & contrast

On white

3.43
#5D87EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#5D87EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D87EA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D87EA#FFFFFF#000000##000000
##5D87EA1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A91EE
Deuteranopia (green-blind)
#4684E8
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5d87ea;
/* rgb */ color: rgb(93, 135, 234);
/* oklch */ color: oklch(64.0% 0.156 265.0);
Tailwind
colors: {
  custom: {
    50: '#96a9f1',
    500: '#5d87ea',
    950: '#000000',
  },
}
SCSS
$custom: #5d87ea;
$custom-light: #96a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87ea",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 222.128,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64013,
    "c": 0.15571,
    "h": 265
  },
  "luminance": 0.25596
}

Semantic roles & 50–950 ramp

primary
#5D87EA
secondary
#EADBB9
accent
#9C0CD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5D87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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