#5B87DD#5B87DD

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

Color values

HEX#5B87DD
RGBrgb(91, 135, 221)
HSLhsl(220, 66%, 61%)
HSVhsv(220, 59%, 87%)
CMYKcmyk(58.8%, 38.9%, 0%, 13.3%)
CIE-LABlab(56.85, 10.67, -48.48)
CIE-LCHlch(56.85, 49.64, 282.41°)
OKLaboklab(63.14% -0.0179 -0.1376)
OKLCHoklch(63.14% 0.139 262.6)
XYZxyz(26.0250, 24.7703, 71.8023)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B87DD #DDB15B
analogous
#5BC8DD #5B87DD #705BDD
triadic
#5B87DD #DD5B87 #87DD5B
tetradic
#5B87DD #DD5BC8 #DDB15B #5BDD70
square
#5B87DD #DD5BC8 #DDB15B #5BDD70
split-complementary
#5B87DD #DD705B #C8DD5B
monochromatic
#214B9D #2B63D0 #5B87DD #8EACE8 #C0D1F2

Accessibility & contrast

On white

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

On black

5.95
#5B87DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B87DD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B87DD#FFFFFF#000000##000000
##5B87DD1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b87dd;
/* rgb */ color: rgb(91, 135, 221);
/* oklch */ color: oklch(63.1% 0.139 262.6);
Tailwind
colors: {
  custom: {
    50: '#93a9e8',
    500: '#5b87dd',
    950: '#000000',
  },
}
SCSS
$custom: #5b87dd;
$custom-light: #93a9e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b87dd",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 221
  },
  "hsl": {
    "h": 219.692,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63143,
    "c": 0.1388,
    "h": 262.6
  },
  "luminance": 0.24773
}

Semantic roles & 50–950 ramp

primary
#5B87DD
secondary
#E2D2B1
accent
#9018CE
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5B87DD

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

Preview Lab → · Contrast checker → · Palette generator →

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