#5D48D7#5D48D7

#5D48D7 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.2% C 0.208 H 282.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5D48D7
RGBrgb(93, 72, 215)
HSLhsl(249, 64%, 56%)
HSVhsv(249, 67%, 84%)
CMYKcmyk(56.7%, 66.5%, 0%, 15.7%)
CIE-LABlab(41.00, 47.13, -70.60)
CIE-LCHlch(41.00, 84.89, 303.72°)
OKLaboklab(51.15% 0.0464 -0.2031)
OKLCHoklch(51.15% 0.208 282.9)
XYZxyz(19.0935, 11.8670, 65.5612)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48D7 #C2D748
analogous
#487BD7 #5D48D7 #A548D7
triadic
#5D48D7 #D75D48 #48D75D
tetradic
#5D48D7 #D7487B #C2D748 #48D7A5
square
#5D48D7 #D7487B #C2D748 #48D7A5
split-complementary
#5D48D7 #D7A548 #7BD748
monochromatic
#2D1E87 #3E29B9 #5D48D7 #897AE2 #B6ACED

Accessibility & contrast

On white

6.22
#5D48D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5D48D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48D7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48D7#FFFFFF#000000##FFFFFF
##5D48D71.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DB
Deuteranopia (green-blind)
#005CD4
Tritanopia (blue-blind)
#1B6D89
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d48d7;
/* rgb */ color: rgb(93, 72, 215);
/* oklch */ color: oklch(51.2% 0.208 282.9);
Tailwind
colors: {
  custom: {
    50: '#977de4',
    500: '#5d48d7',
    950: '#000000',
  },
}
SCSS
$custom: #5d48d7;
$custom-light: #977de4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48d7",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 248.811,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51153,
    "c": 0.20834,
    "h": 282.9
  },
  "luminance": 0.11868
}

Semantic roles & 50–950 ramp

primary
#5D48D7
secondary
#D2DBA0
accent
#E741CF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5D48D7

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

Preview Lab → · Contrast checker → · Palette generator →

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