#5D87DA#5D87DA

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

Color values

HEX#5D87DA
RGBrgb(93, 135, 218)
HSLhsl(220, 63%, 61%)
HSVhsv(220, 57%, 85%)
CMYKcmyk(57.3%, 38.1%, 0%, 14.5%)
CIE-LABlab(56.80, 10.08, -46.88)
CIE-LCHlch(56.80, 47.95, 282.14°)
OKLaboklab(63.08% -0.0167 -0.1329)
OKLCHoklch(63.08% 0.134 262.8)
XYZxyz(25.8287, 24.7149, 69.7254)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87DA #DAB05D
analogous
#5DC5DA #5D87DA #715DDA
triadic
#5D87DA #DA5D87 #87DA5D
tetradic
#5D87DA #DA5DC5 #DAB05D #5DDA71
square
#5D87DA #DA5DC5 #DAB05D #5DDA71
split-complementary
#5D87DA #DA715D #C5DA5D
monochromatic
#234B9A #2E63CB #5D87DA #8FACE5 #C1D1F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D87DA#FFFFFF#000000##000000
##5D87DA1.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)
#648FDD
Deuteranopia (green-blind)
#5483D8
Tritanopia (blue-blind)
#0099A6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5d87da;
/* rgb */ color: rgb(93, 135, 218);
/* oklch */ color: oklch(63.1% 0.134 262.8);
Tailwind
colors: {
  custom: {
    50: '#94a9e6',
    500: '#5d87da',
    950: '#000000',
  },
}
SCSS
$custom: #5d87da;
$custom-light: #94a9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87da",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 219.84,
    "s": 62.814,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63078,
    "c": 0.13397,
    "h": 262.8
  },
  "luminance": 0.24717
}

Semantic roles & 50–950 ramp

primary
#5D87DA
secondary
#E1D1B2
accent
#901BCB
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5D87DA

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

Preview Lab → · Contrast checker → · Palette generator →

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