#5D4BE1#5D4BE1

#5D4BE1 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.5% C 0.217 H 281.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5D4BE1
RGBrgb(93, 75, 225)
HSLhsl(247, 71%, 59%)
HSVhsv(247, 67%, 88%)
CMYKcmyk(58.7%, 66.7%, 0%, 11.8%)
CIE-LABlab(42.45, 48.48, -73.95)
CIE-LCHlch(42.45, 88.42, 303.25°)
OKLaboklab(52.45% 0.0425 -0.2129)
OKLCHoklch(52.45% 0.217 281.3)
XYZxyz(20.6166, 12.7941, 72.6027)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4BE1 #CFE14B
analogous
#4B84E1 #5D4BE1 #A84BE1
triadic
#5D4BE1 #E15D4B #4BE15D
tetradic
#5D4BE1 #E14B84 #CFE14B #4BE1A8
square
#5D4BE1 #E14B84 #CFE14B #4BE1A8
split-complementary
#5D4BE1 #E1A84B #84E14B
monochromatic
#291998 #3722CD #5D4BE1 #8C7FEA #BBB4F2

Accessibility & contrast

On white

5.90
#5D4BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5D4BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4BE1
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4BE1#FFFFFF#000000##FFFFFF
##5D4BE11.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#005FDE
Tritanopia (blue-blind)
#007290
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d4be1;
/* rgb */ color: rgb(93, 75, 225);
/* oklch */ color: oklch(52.5% 0.217 281.3);
Tailwind
colors: {
  custom: {
    50: '#987fec',
    500: '#5d4be1',
    950: '#000000',
  },
}
SCSS
$custom: #5d4be1;
$custom-light: #987fec;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4be1",
  "rgb": {
    "r": 93,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 247.2,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52452,
    "c": 0.21714,
    "h": 281.3
  },
  "luminance": 0.12796
}

Semantic roles & 50–950 ramp

primary
#5D4BE1
secondary
#DAE1A6
accent
#EE3AD9
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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