#5A87FD#5A87FD

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

Color values

HEX#5A87FD
RGBrgb(90, 135, 253)
HSLhsl(223, 98%, 67%)
HSVhsv(223, 64%, 99%)
CMYKcmyk(64.4%, 46.6%, 0%, 0.8%)
CIE-LABlab(58.59, 21.18, -63.45)
CIE-LCHlch(58.59, 66.90, 288.46°)
OKLaboklab(65.05% -0.0132 -0.1816)
OKLCHoklch(65.05% 0.182 265.8)
XYZxyz(30.6039, 26.5906, 96.4291)
Luminance0.2659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A87FD #FDD05A
analogous
#5AD8FD #5A87FD #7F5AFD
triadic
#5A87FD #FD5A87 #87FD5A
tetradic
#5A87FD #FD5AD8 #FDD05A #5AFD7F
square
#5A87FD #FD5AD8 #FDD05A #5AFD7F
split-complementary
#5A87FD #FD7F5A #D8FD5A
monochromatic
#033EDA #1E5BFC #5A87FD #96B3FE #D3DFFE

Accessibility & contrast

On white

3.32
#5A87FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#5A87FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A87FD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A87FD#FFFFFF#000000##000000
##5A87FD1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#2986FB
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a87fd;
/* rgb */ color: rgb(90, 135, 253);
/* oklch */ color: oklch(65.0% 0.182 265.8);
Tailwind
colors: {
  custom: {
    50: '#98a9ff',
    500: '#5a87fd',
    950: '#000000',
  },
}
SCSS
$custom: #5a87fd;
$custom-light: #98a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a87fd",
  "rgb": {
    "r": 90,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 223.436,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6505,
    "c": 0.18211,
    "h": 265.8
  },
  "luminance": 0.26593
}

Semantic roles & 50–950 ramp

primary
#5A87FD
secondary
#F3E5C0
accent
#A600E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5A87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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