#5D48C8#5D48C8

#5D48C8 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.9% C 0.190 H 284.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5D48C8
RGBrgb(93, 72, 200)
HSLhsl(250, 54%, 53%)
HSVhsv(250, 64%, 78%)
CMYKcmyk(53.5%, 64%, 0%, 21.6%)
CIE-LABlab(39.80, 42.59, -63.91)
CIE-LCHlch(39.80, 76.80, 303.68°)
OKLaboklab(49.91% 0.0481 -0.1835)
OKLCHoklch(49.91% 0.19 284.7)
XYZxyz(17.2537, 11.1311, 55.8717)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48C8 #B3C848
analogous
#4873C8 #5D48C8 #9D48C8
triadic
#5D48C8 #C85D48 #48C85D
tetradic
#5D48C8 #C84873 #B3C848 #48C89D
square
#5D48C8 #C84873 #B3C848 #48C89D
split-complementary
#5D48C8 #C89D48 #73C848
monochromatic
#302373 #4331A2 #5D48C8 #8777D6 #B0A6E4

Accessibility & contrast

On white

6.51
#5D48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5D48C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48C8
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48C8#FFFFFF#000000##FFFFFF
##5D48C81.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005AC5
Tritanopia (blue-blind)
#306781
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d48c8;
/* rgb */ color: rgb(93, 72, 200);
/* oklch */ color: oklch(49.9% 0.190 284.7);
Tailwind
colors: {
  custom: {
    50: '#947cda',
    500: '#5d48c8',
    950: '#000000',
  },
}
SCSS
$custom: #5d48c8;
$custom-light: #947cda;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48c8",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 249.844,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49908,
    "c": 0.18967,
    "h": 284.7
  },
  "luminance": 0.11132
}

Semantic roles & 50–950 ramp

primary
#5D48C8
secondary
#C8D19A
accent
#DD4BC5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D48C8

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

Preview Lab → · Contrast checker → · Palette generator →

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