#5D48DD#5D48DD

#5D48DD is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.7% C 0.216 H 282.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5D48DD
RGBrgb(93, 72, 221)
HSLhsl(248, 69%, 57%)
HSVhsv(248, 67%, 87%)
CMYKcmyk(57.9%, 67.4%, 0%, 13.3%)
CIE-LABlab(41.50, 48.94, -73.22)
CIE-LCHlch(41.50, 88.07, 303.76°)
OKLaboklab(51.67% 0.0455 -0.2108)
OKLCHoklch(51.67% 0.216 282.2)
XYZxyz(19.8787, 12.1810, 69.6963)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48DD #C8DD48
analogous
#487EDD #5D48DD #A748DD
triadic
#5D48DD #DD5D48 #48DD5D
tetradic
#5D48DD #DD487E #C8DD48 #48DDA7
square
#5D48DD #DD487E #C8DD48 #48DDA7
split-complementary
#5D48DD #DDA748 #7EDD48
monochromatic
#2B1B90 #3B24C3 #5D48DD #8B7CE7 #B8AFF0

Accessibility & contrast

On white

6.11
#5D48DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5D48DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48DD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48DD#FFFFFF#000000##FFFFFF
##5D48DD1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E2
Deuteranopia (green-blind)
#005DDA
Tritanopia (blue-blind)
#0B6F8D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d48dd;
/* rgb */ color: rgb(93, 72, 221);
/* oklch */ color: oklch(51.7% 0.216 282.2);
Tailwind
colors: {
  custom: {
    50: '#987de9',
    500: '#5d48dd',
    950: '#000000',
  },
}
SCSS
$custom: #5d48dd;
$custom-light: #987de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48dd",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 248.456,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51666,
    "c": 0.21567,
    "h": 282.2
  },
  "luminance": 0.12182
}

Semantic roles & 50–950 ramp

primary
#5D48DD
secondary
#D6DEA2
accent
#EC3CD3
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D48DD

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

Preview Lab → · Contrast checker → · Palette generator →

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