#5D4FE8#5D4FE8

#5D4FE8 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.6% C 0.221 H 280.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5D4FE8
RGBrgb(93, 79, 232)
HSLhsl(245, 77%, 61%)
HSVhsv(245, 66%, 91%)
CMYKcmyk(59.9%, 65.9%, 0%, 9%)
CIE-LABlab(43.86, 48.36, -75.61)
CIE-LCHlch(43.86, 89.76, 302.60°)
OKLaboklab(53.65% 0.0384 -0.2178)
OKLCHoklch(53.65% 0.221 280)
XYZxyz(21.8711, 13.7437, 77.8286)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FE8 #DAE84F
analogous
#4F8DE8 #5D4FE8 #A94FE8
triadic
#5D4FE8 #E85D4F #4FE85D
tetradic
#5D4FE8 #E84F8D #DAE84F #4FE8A9
square
#5D4FE8 #E84F8D #DAE84F #4FE8A9
split-complementary
#5D4FE8 #E8A94F #8DE84F
monochromatic
#2316A7 #2E1DDD #5D4FE8 #8F85EF #C1BBF6

Accessibility & contrast

On white

5.60
#5D4FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5D4FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FE8
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FE8#FFFFFF#000000##FFFFFF
##5D4FE81.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DED
Deuteranopia (green-blind)
#0062E5
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d4fe8;
/* rgb */ color: rgb(93, 79, 232);
/* oklch */ color: oklch(53.6% 0.221 280.0);
Tailwind
colors: {
  custom: {
    50: '#9982f0',
    500: '#5d4fe8',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fe8;
$custom-light: #9982f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fe8",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 245.49,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53649,
    "c": 0.22117,
    "h": 280
  },
  "luminance": 0.13745
}

Semantic roles & 50–950 ramp

primary
#5D4FE8
secondary
#E1E6AD
accent
#D90CC6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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