#5D4BC2#5D4BC2

#5D4BC2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.9% C 0.178 H 284.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5D4BC2
RGBrgb(93, 75, 194)
HSLhsl(249, 49%, 53%)
HSVhsv(249, 61%, 76%)
CMYKcmyk(52.1%, 61.3%, 0%, 23.9%)
CIE-LABlab(40.00, 39.01, -60.09)
CIE-LCHlch(40.00, 71.64, 302.99°)
OKLaboklab(49.91% 0.0456 -0.1722)
OKLCHoklch(49.91% 0.178 284.8)
XYZxyz(16.7650, 11.2535, 52.3172)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4BC2 #B0C24B
analogous
#4B74C2 #5D4BC2 #994BC2
triadic
#5D4BC2 #C25D4B #4BC25D
tetradic
#5D4BC2 #C24B74 #B0C24B #4BC299
square
#5D4BC2 #C24B74 #B0C24B #4BC299
split-complementary
#5D4BC2 #C2994B #74C24B
monochromatic
#30256D #44359B #5D4BC2 #8679D1 #AFA6E1

Accessibility & contrast

On white

6.46
#5D4BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5D4BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4BC2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4BC2#FFFFFF#000000##FFFFFF
##5D4BC21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#35677F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d4bc2;
/* rgb */ color: rgb(93, 75, 194);
/* oklch */ color: oklch(49.9% 0.178 284.8);
Tailwind
colors: {
  custom: {
    50: '#937ed5',
    500: '#5d4bc2',
    950: '#000000',
  },
}
SCSS
$custom: #5d4bc2;
$custom-light: #937ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4bc2",
  "rgb": {
    "r": 93,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 249.076,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49913,
    "c": 0.17816,
    "h": 284.8
  },
  "luminance": 0.11254
}

Semantic roles & 50–950 ramp

primary
#5D4BC2
secondary
#C6CE9B
accent
#D94FC4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5D4BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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