#5B5DCD#5B5DCD

#5B5DCD is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.169 H 278.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5B5DCD
RGBrgb(91, 93, 205)
HSLhsl(239, 53%, 58%)
HSVhsv(239, 56%, 80%)
CMYKcmyk(55.6%, 54.6%, 0%, 19.6%)
CIE-LABlab(44.88, 31.17, -58.56)
CIE-LCHlch(44.88, 66.34, 298.03°)
OKLaboklab(53.73% 0.0244 -0.1677)
OKLCHoklch(53.73% 0.169 278.3)
XYZxyz(19.2447, 14.4593, 59.5226)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5DCD #CDCB5B
analogous
#5B96CD #5B5DCD #925BCD
triadic
#5B5DCD #CD5B5D #5DCD5B
tetradic
#5B5DCD #CD5B96 #CDCB5B #5BCD92
square
#5B5DCD #CD5B96 #CDCB5B #5BCD92
split-complementary
#5B5DCD #CD925B #96CD5B
monochromatic
#292A85 #3739B4 #5B5DCD #8A8BDB #B9BAEA

Accessibility & contrast

On white

5.40
#5B5DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5B5DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5DCD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5DCD#FFFFFF#000000##FFFFFF
##5B5DCD1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126FD1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#1F778C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5b5dcd;
/* rgb */ color: rgb(91, 93, 205);
/* oklch */ color: oklch(53.7% 0.169 278.3);
Tailwind
colors: {
  custom: {
    50: '#938bdd',
    500: '#5b5dcd',
    950: '#000000',
  },
}
SCSS
$custom: #5b5dcd;
$custom-light: #938bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5dcd",
  "rgb": {
    "r": 91,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 238.947,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53728,
    "c": 0.16944,
    "h": 278.3
  },
  "luminance": 0.14461
}

Semantic roles & 50–950 ramp

primary
#5B5DCD
secondary
#D9D8AB
accent
#DA4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B5DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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