#5E48DB#5E48DB

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

Color values

HEX#5E48DB
RGBrgb(94, 72, 219)
HSLhsl(249, 67%, 57%)
HSVhsv(249, 67%, 86%)
CMYKcmyk(57.1%, 67.1%, 0%, 14.1%)
CIE-LABlab(41.42, 48.49, -72.21)
CIE-LCHlch(41.42, 86.98, 303.88°)
OKLaboklab(51.57% 0.0471 -0.2078)
OKLCHoklch(51.57% 0.213 282.8)
XYZxyz(19.7157, 12.1276, 68.3061)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E48DB #C5DB48
analogous
#487BDB #5E48DB #A848DB
triadic
#5E48DB #DB5E48 #48DB5E
tetradic
#5E48DB #DB487B #C5DB48 #48DBA8
square
#5E48DB #DB487B #C5DB48 #48DBA8
split-complementary
#5E48DB #DBA848 #7BDB48
monochromatic
#2D1C8D #3D26C0 #5E48DB #8B7BE5 #B8AEEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E48DB#FFFFFF#000000##FFFFFF
##5E48DB1.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)
#0066E0
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#186E8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e48db;
/* rgb */ color: rgb(94, 72, 219);
/* oklch */ color: oklch(51.6% 0.213 282.8);
Tailwind
colors: {
  custom: {
    50: '#987de7',
    500: '#5e48db',
    950: '#000000',
  },
}
SCSS
$custom: #5e48db;
$custom-light: #987de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e48db",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 248.98,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51574,
    "c": 0.2131,
    "h": 282.8
  },
  "luminance": 0.12129
}

Semantic roles & 50–950 ramp

primary
#5E48DB
secondary
#D4DDA2
accent
#EA3ED0
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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