#5D48DB#5D48DB

#5D48DB is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.5% C 0.213 H 282.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5D48DB
RGBrgb(93, 72, 219)
HSLhsl(249, 67%, 57%)
HSVhsv(249, 67%, 86%)
CMYKcmyk(57.5%, 67.1%, 0%, 14.1%)
CIE-LABlab(41.34, 48.33, -72.35)
CIE-LCHlch(41.34, 87.01, 303.74°)
OKLaboklab(51.49% 0.0458 -0.2083)
OKLCHoklch(51.49% 0.213 282.4)
XYZxyz(19.6138, 12.0751, 68.3013)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48DB #C6DB48
analogous
#487DDB #5D48DB #A648DB
triadic
#5D48DB #DB5D48 #48DB5D
tetradic
#5D48DB #DB487D #C6DB48 #48DBA6
square
#5D48DB #DB487D #C6DB48 #48DBA6
split-complementary
#5D48DB #DBA648 #7DDB48
monochromatic
#2C1C8D #3C26C0 #5D48DB #8A7BE5 #B8AEEF

Accessibility & contrast

On white

6.15
#5D48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5D48DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48DB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48DB#FFFFFF#000000##FFFFFF
##5D48DB1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#116E8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d48db;
/* rgb */ color: rgb(93, 72, 219);
/* oklch */ color: oklch(51.5% 0.213 282.4);
Tailwind
colors: {
  custom: {
    50: '#977de7',
    500: '#5d48db',
    950: '#000000',
  },
}
SCSS
$custom: #5d48db;
$custom-light: #977de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48db",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 248.571,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51494,
    "c": 0.21324,
    "h": 282.4
  },
  "luminance": 0.12076
}

Semantic roles & 50–950 ramp

primary
#5D48DB
secondary
#D5DDA2
accent
#EA3ED1
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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