#5D48CE#5D48CE

#5D48CE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.4% C 0.197 H 283.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5D48CE
RGBrgb(93, 72, 206)
HSLhsl(249, 58%, 55%)
HSVhsv(249, 65%, 81%)
CMYKcmyk(54.9%, 65%, 0%, 19.2%)
CIE-LABlab(40.27, 44.40, -66.61)
CIE-LCHlch(40.27, 80.06, 303.69°)
OKLaboklab(50.4% 0.0475 -0.1914)
OKLCHoklch(50.4% 0.197 283.9)
XYZxyz(17.9687, 11.4171, 59.6374)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48CE #B9CE48
analogous
#4876CE #5D48CE #A048CE
triadic
#5D48CE #CE5D48 #48CE5D
tetradic
#5D48CE #CE4876 #B9CE48 #48CEA0
square
#5D48CE #CE4876 #B9CE48 #48CEA0
split-complementary
#5D48CE #CEA048 #76CE48
monochromatic
#2F217B #412EAB #5D48CE #8878DB #B2A9E8

Accessibility & contrast

On white

6.40
#5D48CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5D48CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48CE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48CE#FFFFFF#000000##FFFFFF
##5D48CE1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#296A85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d48ce;
/* rgb */ color: rgb(93, 72, 206);
/* oklch */ color: oklch(50.4% 0.197 283.9);
Tailwind
colors: {
  custom: {
    50: '#957cde',
    500: '#5d48ce',
    950: '#000000',
  },
}
SCSS
$custom: #5d48ce;
$custom-light: #957cde;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48ce",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 249.403,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50399,
    "c": 0.19721,
    "h": 283.9
  },
  "luminance": 0.11418
}

Semantic roles & 50–950 ramp

primary
#5D48CE
secondary
#CCD59D
accent
#E147C9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D48CE

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

Preview Lab → · Contrast checker → · Palette generator →

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