#5D48E4#5D48E4

#5D48E4 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.3% C 0.224 H 281.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5D48E4
RGBrgb(93, 72, 228)
HSLhsl(248, 74%, 59%)
HSVhsv(248, 68%, 89%)
CMYKcmyk(59.2%, 68.4%, 0%, 10.6%)
CIE-LABlab(42.10, 51.05, -76.24)
CIE-LCHlch(42.10, 91.75, 303.80°)
OKLaboklab(52.27% 0.0445 -0.2196)
OKLCHoklch(52.27% 0.224 281.4)
XYZxyz(20.8308, 12.5619, 74.7107)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48E4 #CFE448
analogous
#4881E4 #5D48E4 #AB48E4
triadic
#5D48E4 #E45D48 #48E45D
tetradic
#5D48E4 #E44881 #CFE448 #48E4AB
square
#5D48E4 #E44881 #CFE448 #48E4AB
split-complementary
#5D48E4 #E4AB48 #81E448
monochromatic
#29179B #371FD0 #5D48E4 #8C7DEC #BBB3F4

Accessibility & contrast

On white

5.98
#5D48E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5D48E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48E4
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48E4#FFFFFF#000000##FFFFFF
##5D48E41.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#005EE1
Tritanopia (blue-blind)
#007191
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d48e4;
/* rgb */ color: rgb(93, 72, 228);
/* oklch */ color: oklch(52.3% 0.224 281.4);
Tailwind
colors: {
  custom: {
    50: '#997dee',
    500: '#5d48e4',
    950: '#000000',
  },
}
SCSS
$custom: #5d48e4;
$custom-light: #997dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48e4",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 228
  },
  "hsl": {
    "h": 248.077,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52274,
    "c": 0.22409,
    "h": 281.4
  },
  "luminance": 0.12563
}

Semantic roles & 50–950 ramp

primary
#5D48E4
secondary
#DAE3A5
accent
#F137D8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D48E4

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

Preview Lab → · Contrast checker → · Palette generator →

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