#5D87F4#5D87F4

#5D87F4 is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.6% C 0.169 H 266.0°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5D87F4
RGBrgb(93, 135, 244)
HSLhsl(223, 87%, 66%)
HSVhsv(223, 62%, 96%)
CMYKcmyk(61.9%, 44.7%, 0%, 4.3%)
CIE-LABlab(58.21, 18.66, -59.10)
CIE-LCHlch(58.21, 61.97, 287.52°)
OKLaboklab(64.63% -0.0119 -0.1688)
OKLCHoklch(64.63% 0.169 266)
XYZxyz(29.5017, 26.1841, 89.0698)
Luminance0.2619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87F4 #F4CA5D
analogous
#5DD2F4 #5D87F4 #7E5DF4
triadic
#5D87F4 #F45D87 #87F45D
tetradic
#5D87F4 #F45DD2 #F4CA5D #5DF47E
square
#5D87F4 #F45DD2 #F4CA5D #5DF47E
split-complementary
#5D87F4 #F47E5D #D2F45D
monochromatic
#0E42C9 #245DF0 #5D87F4 #96B1F8 #D0DCFC

Accessibility & contrast

On white

3.37
#5D87F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#5D87F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D87F4
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D87F4#FFFFFF#000000##000000
##5D87F41.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5393F8
Deuteranopia (green-blind)
#3A86F2
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5d87f4;
/* rgb */ color: rgb(93, 135, 244);
/* oklch */ color: oklch(64.6% 0.169 266.0);
Tailwind
colors: {
  custom: {
    50: '#98a9f8',
    500: '#5d87f4',
    950: '#000000',
  },
}
SCSS
$custom: #5d87f4;
$custom-light: #98a9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87f4",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 223.311,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64627,
    "c": 0.16918,
    "h": 266
  },
  "luminance": 0.26187
}

Semantic roles & 50–950 ramp

primary
#5D87F4
secondary
#EFE1BE
accent
#A502E4
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5D87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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