#5D48DE#5D48DE

#5D48DE is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.8% C 0.217 H 282.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5D48DE
RGBrgb(93, 72, 222)
HSLhsl(248, 69%, 58%)
HSVhsv(248, 68%, 87%)
CMYKcmyk(58.1%, 67.6%, 0%, 12.9%)
CIE-LABlab(41.59, 49.24, -73.66)
CIE-LCHlch(41.59, 88.60, 303.76°)
OKLaboklab(51.75% 0.0454 -0.2121)
OKLCHoklch(51.75% 0.217 282.1)
XYZxyz(20.0123, 12.2345, 70.4000)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48DE #C9DE48
analogous
#487EDE #5D48DE #A848DE
triadic
#5D48DE #DE5D48 #48DE5D
tetradic
#5D48DE #DE487E #C9DE48 #48DEA8
square
#5D48DE #DE487E #C9DE48 #48DEA8
split-complementary
#5D48DE #DEA848 #7EDE48
monochromatic
#2B1A91 #3A24C5 #5D48DE #8B7CE7 #B9B0F1

Accessibility & contrast

On white

6.09
#5D48DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5D48DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48DE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48DE#FFFFFF#000000##FFFFFF
##5D48DE1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E3
Deuteranopia (green-blind)
#005DDB
Tritanopia (blue-blind)
#066F8D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d48de;
/* rgb */ color: rgb(93, 72, 222);
/* oklch */ color: oklch(51.8% 0.217 282.1);
Tailwind
colors: {
  custom: {
    50: '#987de9',
    500: '#5d48de',
    950: '#000000',
  },
}
SCSS
$custom: #5d48de;
$custom-light: #987de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48de",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 222
  },
  "hsl": {
    "h": 248.4,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51752,
    "c": 0.21688,
    "h": 282.1
  },
  "luminance": 0.12236
}

Semantic roles & 50–950 ramp

primary
#5D48DE
secondary
#D7DFA3
accent
#EC3CD4
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D48DE

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

Preview Lab → · Contrast checker → · Palette generator →

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