#5D4FC8#5D4FC8

#5D4FC8 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.0% C 0.181 H 283.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5D4FC8
RGBrgb(93, 79, 200)
HSLhsl(247, 52%, 55%)
HSVhsv(247, 61%, 78%)
CMYKcmyk(53.5%, 60.5%, 0%, 21.6%)
CIE-LABlab(41.36, 38.48, -61.38)
CIE-LCHlch(41.36, 72.44, 302.08°)
OKLaboklab(51.04% 0.0412 -0.176)
OKLCHoklch(51.04% 0.181 283.2)
XYZxyz(17.7323, 12.0882, 56.0313)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FC8 #BAC84F
analogous
#4F7EC8 #5D4FC8 #994FC8
triadic
#5D4FC8 #C85D4F #4FC85D
tetradic
#5D4FC8 #C84F7E #BAC84F #4FC899
square
#5D4FC8 #C84F7E #BAC84F #4FC899
split-complementary
#5D4FC8 #C8994F #7EC84F
monochromatic
#2F2577 #4134A6 #5D4FC8 #887ED7 #B3ACE5

Accessibility & contrast

On white

6.14
#5D4FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5D4FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FC8
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FC8#FFFFFF#000000##FFFFFF
##5D4FC81.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#2F6C84
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d4fc8;
/* rgb */ color: rgb(93, 79, 200);
/* oklch */ color: oklch(51.0% 0.181 283.2);
Tailwind
colors: {
  custom: {
    50: '#9481da',
    500: '#5d4fc8',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fc8;
$custom-light: #9481da;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fc8",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 246.942,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51043,
    "c": 0.18078,
    "h": 283.2
  },
  "luminance": 0.12089
}

Semantic roles & 50–950 ramp

primary
#5D4FC8
secondary
#CDD3A0
accent
#DC4CCB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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