#5D4EDF#5D4EDF

#5D4EDF is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.7% C 0.211 H 281.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5D4EDF
RGBrgb(93, 78, 223)
HSLhsl(246, 69%, 59%)
HSVhsv(246, 65%, 87%)
CMYKcmyk(58.3%, 65%, 0%, 12.5%)
CIE-LABlab(42.92, 46.16, -72.05)
CIE-LCHlch(42.92, 85.57, 302.65°)
OKLaboklab(52.74% 0.0403 -0.2074)
OKLCHoklch(52.74% 0.211 281)
XYZxyz(20.5537, 13.1022, 71.2436)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4EDF #D0DF4E
analogous
#4E88DF #5D4EDF #A64EDF
triadic
#5D4EDF #DF5D4E #4EDF5D
tetradic
#5D4EDF #DF4E88 #D0DF4E #4EDFA6
square
#5D4EDF #DF4E88 #D0DF4E #4EDFA6
split-complementary
#5D4EDF #DFA64E #88DF4E
monochromatic
#281B97 #3625CB #5D4EDF #8C82E8 #BCB6F2

Accessibility & contrast

On white

5.80
#5D4EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5D4EDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4EDF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4EDF#FFFFFF#000000##FFFFFF
##5D4EDF1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE4
Deuteranopia (green-blind)
#0060DC
Tritanopia (blue-blind)
#007390
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d4edf;
/* rgb */ color: rgb(93, 78, 223);
/* oklch */ color: oklch(52.7% 0.211 281.0);
Tailwind
colors: {
  custom: {
    50: '#9781ea',
    500: '#5d4edf',
    950: '#000000',
  },
}
SCSS
$custom: #5d4edf;
$custom-light: #9781ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4edf",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 223
  },
  "hsl": {
    "h": 246.207,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52737,
    "c": 0.21124,
    "h": 281
  },
  "luminance": 0.13104
}

Semantic roles & 50–950 ramp

primary
#5D4EDF
secondary
#DBE1A8
accent
#EC3CDA
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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