#5A87DD#5A87DD

#5A87DD is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.1% C 0.139 H 262.3°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5A87DD
RGBrgb(90, 135, 221)
HSLhsl(219, 66%, 61%)
HSVhsv(219, 59%, 87%)
CMYKcmyk(59.3%, 38.9%, 0%, 13.3%)
CIE-LABlab(56.80, 10.47, -48.56)
CIE-LCHlch(56.80, 49.68, 282.17°)
OKLaboklab(63.09% -0.0188 -0.1379)
OKLCHoklch(63.09% 0.139 262.3)
XYZxyz(25.9270, 24.7198, 71.7977)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A87DD #DDB05A
analogous
#5AC9DD #5A87DD #6E5ADD
triadic
#5A87DD #DD5A87 #87DD5A
tetradic
#5A87DD #DD5AC9 #DDB05A #5ADD6E
square
#5A87DD #DD5AC9 #DDB05A #5ADD6E
split-complementary
#5A87DD #DD6E5A #C9DD5A
monochromatic
#204B9C #2B63CF #5A87DD #8DACE7 #BFD1F2

Accessibility & contrast

On white

3.53
#5A87DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#5A87DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A87DD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A87DD#FFFFFF#000000##000000
##5A87DD1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#628FE0
Deuteranopia (green-blind)
#5083DB
Tritanopia (blue-blind)
#009AA7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a87dd;
/* rgb */ color: rgb(90, 135, 221);
/* oklch */ color: oklch(63.1% 0.139 262.3);
Tailwind
colors: {
  custom: {
    50: '#93a9e8',
    500: '#5a87dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a87dd;
$custom-light: #93a9e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a87dd",
  "rgb": {
    "r": 90,
    "g": 135,
    "b": 221
  },
  "hsl": {
    "h": 219.389,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63092,
    "c": 0.13917,
    "h": 262.3
  },
  "luminance": 0.24722
}

Semantic roles & 50–950 ramp

primary
#5A87DD
secondary
#E2D1B1
accent
#8F18CE
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5A87DD

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

Preview Lab → · Contrast checker → · Palette generator →

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