#5D4BE8#5D4BE8

#5D4BE8 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 53.1% C 0.226 H 280.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5D4BE8
RGBrgb(93, 75, 232)
HSLhsl(247, 77%, 60%)
HSVhsv(247, 68%, 91%)
CMYKcmyk(59.9%, 67.7%, 0%, 9%)
CIE-LABlab(43.04, 50.60, -76.96)
CIE-LCHlch(43.04, 92.11, 303.33°)
OKLaboklab(53.06% 0.0415 -0.2218)
OKLCHoklch(53.06% 0.226 280.6)
XYZxyz(21.5912, 13.1839, 77.7353)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4BE8 #D6E84B
analogous
#4B87E8 #5D4BE8 #AB4BE8
triadic
#5D4BE8 #E85D4B #4BE85D
tetradic
#5D4BE8 #E84B87 #D6E84B #4BE8AB
square
#5D4BE8 #E84B87 #D6E84B #4BE8AB
split-complementary
#5D4BE8 #E8AB4B #87E84B
monochromatic
#2515A4 #321CDA #5D4BE8 #8E81EF #BFB8F6

Accessibility & contrast

On white

5.77
#5D4BE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5D4BE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4BE8
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4BE8#FFFFFF#000000##FFFFFF
##5D4BE81.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BED
Deuteranopia (green-blind)
#0060E5
Tritanopia (blue-blind)
#007494
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5d4be8;
/* rgb */ color: rgb(93, 75, 232);
/* oklch */ color: oklch(53.1% 0.226 280.6);
Tailwind
colors: {
  custom: {
    50: '#997ff1',
    500: '#5d4be8',
    950: '#000000',
  },
}
SCSS
$custom: #5d4be8;
$custom-light: #997ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4be8",
  "rgb": {
    "r": 93,
    "g": 75,
    "b": 232
  },
  "hsl": {
    "h": 246.879,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53056,
    "c": 0.22562,
    "h": 280.6
  },
  "luminance": 0.13186
}

Semantic roles & 50–950 ramp

primary
#5D4BE8
secondary
#DFE6A9
accent
#DA0CC2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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