#5D87FA#5D87FA

#5D87FA is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.0% C 0.177 H 266.4°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5D87FA
RGBrgb(93, 135, 250)
HSLhsl(224, 94%, 67%)
HSVhsv(224, 63%, 98%)
CMYKcmyk(62.8%, 46%, 0%, 2%)
CIE-LABlab(58.56, 20.66, -61.85)
CIE-LCHlch(58.56, 65.21, 288.47°)
OKLaboklab(65.01% -0.011 -0.1768)
OKLCHoklch(65.01% 0.177 266.4)
XYZxyz(30.4276, 26.5545, 93.9460)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87FA #FAD05D
analogous
#5DD6FA #5D87FA #825DFA
triadic
#5D87FA #FA5D87 #87FA5D
tetradic
#5D87FA #FA5DD6 #FAD05D #5DFA82
square
#5D87FA #FA5DD6 #FAD05D #5DFA82
split-complementary
#5D87FA #FA825D #D6FA5D
monochromatic
#073ED6 #225BF8 #5D87FA #98B3FC #D4DFFE

Accessibility & contrast

On white

3.33
#5D87FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#5D87FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D87FA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D87FA#FFFFFF#000000##000000
##5D87FA1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E94FE
Deuteranopia (green-blind)
#3186F8
Tritanopia (blue-blind)
#00A1B4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5d87fa;
/* rgb */ color: rgb(93, 135, 250);
/* oklch */ color: oklch(65.0% 0.177 266.4);
Tailwind
colors: {
  custom: {
    50: '#99a9fd',
    500: '#5d87fa',
    950: '#000000',
  },
}
SCSS
$custom: #5d87fa;
$custom-light: #99a9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87fa",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 223.949,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65006,
    "c": 0.17719,
    "h": 266.4
  },
  "luminance": 0.26557
}

Semantic roles & 50–950 ramp

primary
#5D87FA
secondary
#F2E5C1
accent
#A800E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5D87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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