#5D48CA#5D48CA

#5D48CA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 50.1% C 0.192 H 284.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5D48CA
RGBrgb(93, 72, 202)
HSLhsl(250, 55%, 54%)
HSVhsv(250, 64%, 79%)
CMYKcmyk(54%, 64.4%, 0%, 20.8%)
CIE-LABlab(39.96, 43.19, -64.82)
CIE-LCHlch(39.96, 77.89, 303.68°)
OKLaboklab(50.07% 0.0479 -0.1861)
OKLCHoklch(50.07% 0.192 284.4)
XYZxyz(17.4890, 11.2252, 57.1108)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48CA #B5CA48
analogous
#4874CA #5D48CA #9E48CA
triadic
#5D48CA #CA5D48 #48CA5D
tetradic
#5D48CA #CA4874 #B5CA48 #48CA9E
square
#5D48CA #CA4874 #B5CA48 #48CA9E
split-complementary
#5D48CA #CA9E48 #74CA48
monochromatic
#302276 #4330A5 #5D48CA #8777D8 #B1A7E5

Accessibility & contrast

On white

6.47
#5D48CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5D48CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48CA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48CA#FFFFFF#000000##FFFFFF
##5D48CA1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#2E6882
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d48ca;
/* rgb */ color: rgb(93, 72, 202);
/* oklch */ color: oklch(50.1% 0.192 284.4);
Tailwind
colors: {
  custom: {
    50: '#957cdb',
    500: '#5d48ca',
    950: '#000000',
  },
}
SCSS
$custom: #5d48ca;
$custom-light: #957cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48ca",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 249.692,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50071,
    "c": 0.19219,
    "h": 284.4
  },
  "luminance": 0.11226
}

Semantic roles & 50–950 ramp

primary
#5D48CA
secondary
#CAD39B
accent
#DE49C6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D48CA

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

Preview Lab → · Contrast checker → · Palette generator →

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