#5D48CD#5D48CD

#5D48CD is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.3% C 0.196 H 284.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5D48CD
RGBrgb(93, 72, 205)
HSLhsl(249, 57%, 54%)
HSVhsv(249, 65%, 80%)
CMYKcmyk(54.6%, 64.9%, 0%, 19.6%)
CIE-LABlab(40.19, 44.10, -66.17)
CIE-LCHlch(40.19, 79.52, 303.69°)
OKLaboklab(50.32% 0.0476 -0.1901)
OKLCHoklch(50.32% 0.196 284.1)
XYZxyz(17.8477, 11.3686, 58.9997)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48CD #B8CD48
analogous
#4875CD #5D48CD #A048CD
triadic
#5D48CD #CD5D48 #48CD5D
tetradic
#5D48CD #CD4875 #B8CD48 #48CDA0
square
#5D48CD #CD4875 #B8CD48 #48CDA0
split-complementary
#5D48CD #CDA048 #75CD48
monochromatic
#2F2179 #422EA9 #5D48CD #8878DA #B2A8E7

Accessibility & contrast

On white

6.41
#5D48CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5D48CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48CD
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48CD#FFFFFF#000000##FFFFFF
##5D48CD1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#2A6984
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d48cd;
/* rgb */ color: rgb(93, 72, 205);
/* oklch */ color: oklch(50.3% 0.196 284.1);
Tailwind
colors: {
  custom: {
    50: '#957cdd',
    500: '#5d48cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d48cd;
$custom-light: #957cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48cd",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 249.474,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50317,
    "c": 0.19596,
    "h": 284.1
  },
  "luminance": 0.1137
}

Semantic roles & 50–950 ramp

primary
#5D48CD
secondary
#CCD59C
accent
#E047C8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D48CD

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

Preview Lab → · Contrast checker → · Palette generator →

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