#5D5BCD#5D5BCD

#5D5BCD is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.5% C 0.172 H 279.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5D5BCD
RGBrgb(93, 91, 205)
HSLhsl(241, 53%, 58%)
HSVhsv(241, 56%, 80%)
CMYKcmyk(54.6%, 55.6%, 0%, 19.6%)
CIE-LABlab(44.54, 32.79, -59.11)
CIE-LCHlch(44.54, 67.59, 299.02°)
OKLaboklab(53.51% 0.0288 -0.1693)
OKLCHoklch(53.51% 0.172 279.7)
XYZxyz(19.2713, 14.2159, 59.4742)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BCD #CBCD5B
analogous
#5B92CD #5D5BCD #965BCD
triadic
#5D5BCD #CD5D5B #5BCD5D
tetradic
#5D5BCD #CD5B92 #CBCD5B #5BCD96
square
#5D5BCD #CD5B92 #CBCD5B #5BCD96
split-complementary
#5D5BCD #CD965B #92CD5B
monochromatic
#2A2985 #3937B4 #5D5BCD #8B8ADB #BAB9EA

Accessibility & contrast

On white

5.46
#5D5BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5D5BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5BCD
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5BCD#FFFFFF#000000##FFFFFF
##5D5BCD1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066ED1
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#27758B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d5bcd;
/* rgb */ color: rgb(93, 91, 205);
/* oklch */ color: oklch(53.5% 0.172 279.7);
Tailwind
colors: {
  custom: {
    50: '#9489dd',
    500: '#5d5bcd',
    950: '#000000',
  },
}
SCSS
$custom: #5d5bcd;
$custom-light: #9489dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5bcd",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 241.053,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53509,
    "c": 0.1717,
    "h": 279.7
  },
  "luminance": 0.14217
}

Semantic roles & 50–950 ramp

primary
#5D5BCD
secondary
#D8D9AB
accent
#DD4BDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D5BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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