#5D4FDB#5D4FDB

#5D4FDB is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.205 H 281.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5D4FDB
RGBrgb(93, 79, 219)
HSLhsl(246, 66%, 58%)
HSVhsv(246, 64%, 86%)
CMYKcmyk(57.5%, 63.9%, 0%, 14.1%)
CIE-LABlab(42.81, 44.35, -69.94)
CIE-LCHlch(42.81, 82.82, 302.38°)
OKLaboklab(52.56% 0.0398 -0.2012)
OKLCHoklch(52.56% 0.205 281.2)
XYZxyz(20.0924, 13.0322, 68.4608)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FDB #CDDB4F
analogous
#4F87DB #5D4FDB #A34FDB
triadic
#5D4FDB #DB5D4F #4FDB5D
tetradic
#5D4FDB #DB4F87 #CDDB4F #4FDBA3
square
#5D4FDB #DB4F87 #CDDB4F #4FDBA3
split-complementary
#5D4FDB #DBA34F #87DB4F
monochromatic
#291E92 #3828C5 #5D4FDB #8C82E5 #BBB5F0

Accessibility & contrast

On white

5.82
#5D4FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5D4FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FDB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FDB#FFFFFF#000000##FFFFFF
##5D4FDB1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#0F728E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d4fdb;
/* rgb */ color: rgb(93, 79, 219);
/* oklch */ color: oklch(52.6% 0.205 281.2);
Tailwind
colors: {
  custom: {
    50: '#9781e7',
    500: '#5d4fdb',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fdb;
$custom-light: #9781e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fdb",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 246,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52562,
    "c": 0.20508,
    "h": 281.2
  },
  "luminance": 0.13034
}

Semantic roles & 50–950 ramp

primary
#5D4FDB
secondary
#D9DFA7
accent
#E93FD8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5D4FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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