#5D87F6#5D87F6

#5D87F6 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.8% C 0.172 H 266.1°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5D87F6
RGBrgb(93, 135, 246)
HSLhsl(224, 89%, 66%)
HSVhsv(224, 62%, 96%)
CMYKcmyk(62.2%, 45.1%, 0%, 3.5%)
CIE-LABlab(58.33, 19.33, -60.02)
CIE-LCHlch(58.33, 63.05, 287.85°)
OKLaboklab(64.75% -0.0116 -0.1715)
OKLCHoklch(64.75% 0.172 266.1)
XYZxyz(29.8070, 26.3063, 90.6777)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87F6 #F6CC5D
analogous
#5DD4F6 #5D87F6 #805DF6
triadic
#5D87F6 #F65D87 #87F65D
tetradic
#5D87F6 #F65DD4 #F6CC5D #5DF680
square
#5D87F6 #F65DD4 #F6CC5D #5DF680
split-complementary
#5D87F6 #F6805D #D4F65D
monochromatic
#0B41CD #235CF3 #5D87F6 #97B2F9 #D1DDFC

Accessibility & contrast

On white

3.35
#5D87F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#5D87F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D87F6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D87F6#FFFFFF#000000##000000
##5D87F61.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5194FA
Deuteranopia (green-blind)
#3786F4
Tritanopia (blue-blind)
#00A0B3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5d87f6;
/* rgb */ color: rgb(93, 135, 246);
/* oklch */ color: oklch(64.8% 0.172 266.1);
Tailwind
colors: {
  custom: {
    50: '#98a9fa',
    500: '#5d87f6',
    950: '#000000',
  },
}
SCSS
$custom: #5d87f6;
$custom-light: #98a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87f6",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 223.529,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64752,
    "c": 0.17185,
    "h": 266.1
  },
  "luminance": 0.26309
}

Semantic roles & 50–950 ramp

primary
#5D87F6
secondary
#F0E3BF
accent
#A600E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5D87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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