#5D4FE3#5D4FE3

#5D4FE3 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.2% C 0.215 H 280.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5D4FE3
RGBrgb(93, 79, 227)
HSLhsl(246, 73%, 60%)
HSVhsv(246, 65%, 89%)
CMYKcmyk(59%, 65.2%, 0%, 11%)
CIE-LABlab(43.45, 46.82, -73.45)
CIE-LCHlch(43.45, 87.10, 302.52°)
OKLaboklab(53.23% 0.039 -0.2115)
OKLCHoklch(53.23% 0.215 280.4)
XYZxyz(21.1709, 13.4637, 74.1413)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FE3 #D5E34F
analogous
#4F8BE3 #5D4FE3 #A74FE3
triadic
#5D4FE3 #E35D4F #4FE35D
tetradic
#5D4FE3 #E34F8B #D5E34F #4FE3A7
square
#5D4FE3 #E34F8B #D5E34F #4FE3A7
split-complementary
#5D4FE3 #E3A74F #8BE34F
monochromatic
#26199E #3222D3 #5D4FE3 #8E84EB #BEB9F4

Accessibility & contrast

On white

5.69
#5D4FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5D4FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FE3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FE3#FFFFFF#000000##FFFFFF
##5D4FE31.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#0061E0
Tritanopia (blue-blind)
#007592
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d4fe3;
/* rgb */ color: rgb(93, 79, 227);
/* oklch */ color: oklch(53.2% 0.215 280.4);
Tailwind
colors: {
  custom: {
    50: '#9881ed',
    500: '#5d4fe3',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fe3;
$custom-light: #9881ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fe3",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 245.676,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.53227,
    "c": 0.21503,
    "h": 280.4
  },
  "luminance": 0.13465
}

Semantic roles & 50–950 ramp

primary
#5D4FE3
secondary
#DEE3AA
accent
#EF39DE
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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