#5D4BBF#5D4BBF

#5D4BBF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.7% C 0.174 H 285.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5D4BBF
RGBrgb(93, 75, 191)
HSLhsl(249, 48%, 52%)
HSVhsv(249, 61%, 75%)
CMYKcmyk(51.3%, 60.7%, 0%, 25.1%)
CIE-LABlab(39.78, 38.10, -58.70)
CIE-LCHlch(39.78, 69.98, 302.98°)
OKLaboklab(49.68% 0.0458 -0.1681)
OKLCHoklch(49.68% 0.174 285.2)
XYZxyz(16.4314, 11.1201, 50.5607)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4BBF #ADBF4B
analogous
#4B73BF #5D4BBF #974BBF
triadic
#5D4BBF #BF5D4B #4BBF5D
tetradic
#5D4BBF #BF4B73 #ADBF4B #4BBF97
square
#5D4BBF #BF4B73 #ADBF4B #4BBF97
split-complementary
#5D4BBF #BF974B #73BF4B
monochromatic
#30266A #453697 #5D4BBF #8678CF #AEA5DF

Accessibility & contrast

On white

6.51
#5D4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5D4BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4BBF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4BBF#FFFFFF#000000##FFFFFF
##5D4BBF1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#38667E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d4bbf;
/* rgb */ color: rgb(93, 75, 191);
/* oklch */ color: oklch(49.7% 0.174 285.2);
Tailwind
colors: {
  custom: {
    50: '#937ed3',
    500: '#5d4bbf',
    950: '#000000',
  },
}
SCSS
$custom: #5d4bbf;
$custom-light: #937ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4bbf",
  "rgb": {
    "r": 93,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 249.31,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.4968,
    "c": 0.17426,
    "h": 285.2
  },
  "luminance": 0.11121
}

Semantic roles & 50–950 ramp

primary
#5D4BBF
secondary
#C4CC9A
accent
#D751C2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5D4BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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