#5D4BBE#5D4BBE

#5D4BBE is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.6% C 0.173 H 285.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5D4BBE
RGBrgb(93, 75, 190)
HSLhsl(249, 47%, 52%)
HSVhsv(249, 61%, 75%)
CMYKcmyk(51.1%, 60.5%, 0%, 25.5%)
CIE-LABlab(39.71, 37.79, -58.23)
CIE-LCHlch(39.71, 69.42, 302.98°)
OKLaboklab(49.6% 0.0458 -0.1668)
OKLCHoklch(49.6% 0.173 285.4)
XYZxyz(16.3218, 11.0762, 49.9831)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4BBE #ACBE4B
analogous
#4B73BE #5D4BBE #964BBE
triadic
#5D4BBE #BE5D4B #4BBE5D
tetradic
#5D4BBE #BE4B73 #ACBE4B #4BBE96
square
#5D4BBE #BE4B73 #ACBE4B #4BBE96
split-complementary
#5D4BBE #BE964B #73BE4B
monochromatic
#302669 #453696 #5D4BBE #8578CE #AEA5DE

Accessibility & contrast

On white

6.53
#5D4BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D4BBE
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4BBE#FFFFFF#000000##FFFFFF
##5D4BBE1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#38667D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d4bbe;
/* rgb */ color: rgb(93, 75, 190);
/* oklch */ color: oklch(49.6% 0.173 285.4);
Tailwind
colors: {
  custom: {
    50: '#937ed2',
    500: '#5d4bbe',
    950: '#000000',
  },
}
SCSS
$custom: #5d4bbe;
$custom-light: #937ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4bbe",
  "rgb": {
    "r": 93,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 249.391,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49603,
    "c": 0.17294,
    "h": 285.4
  },
  "luminance": 0.11077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D4BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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