#5D48DC#5D48DC

#5D48DC is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.6% C 0.214 H 282.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5D48DC
RGBrgb(93, 72, 220)
HSLhsl(249, 68%, 57%)
HSVhsv(249, 67%, 86%)
CMYKcmyk(57.7%, 67.3%, 0%, 13.7%)
CIE-LABlab(41.42, 48.64, -72.79)
CIE-LCHlch(41.42, 87.54, 303.75°)
OKLaboklab(51.58% 0.0457 -0.2095)
OKLCHoklch(51.58% 0.214 282.3)
XYZxyz(19.7458, 12.1279, 68.9967)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48DC #C7DC48
analogous
#487DDC #5D48DC #A748DC
triadic
#5D48DC #DC5D48 #48DC5D
tetradic
#5D48DC #DC487D #C7DC48 #48DCA7
square
#5D48DC #DC487D #C7DC48 #48DCA7
split-complementary
#5D48DC #DCA748 #7DDC48
monochromatic
#2C1B8E #3B25C2 #5D48DC #8A7BE6 #B8AFF0

Accessibility & contrast

On white

6.13
#5D48DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5D48DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48DC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48DC#FFFFFF#000000##FFFFFF
##5D48DC1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#005CD9
Tritanopia (blue-blind)
#0E6E8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d48dc;
/* rgb */ color: rgb(93, 72, 220);
/* oklch */ color: oklch(51.6% 0.214 282.3);
Tailwind
colors: {
  custom: {
    50: '#977de8',
    500: '#5d48dc',
    950: '#000000',
  },
}
SCSS
$custom: #5d48dc;
$custom-light: #977de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48dc",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 248.514,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5158,
    "c": 0.21445,
    "h": 282.3
  },
  "luminance": 0.12129
}

Semantic roles & 50–950 ramp

primary
#5D48DC
secondary
#D5DEA2
accent
#EB3DD2
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D48DC

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

Preview Lab → · Contrast checker → · Palette generator →

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