#5D48E9#5D48E9

#5D48E9 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.7% C 0.230 H 280.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5D48E9
RGBrgb(93, 72, 233)
HSLhsl(248, 79%, 60%)
HSVhsv(248, 69%, 91%)
CMYKcmyk(60.1%, 69.1%, 0%, 8.6%)
CIE-LABlab(42.53, 52.55, -78.37)
CIE-LCHlch(42.53, 94.35, 303.84°)
OKLaboklab(52.71% 0.0436 -0.2259)
OKLCHoklch(52.71% 0.23 280.9)
XYZxyz(21.5349, 12.8435, 78.4192)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48E9 #D4E948
analogous
#4884E9 #5D48E9 #AE48E9
triadic
#5D48E9 #E95D48 #48E95D
tetradic
#5D48E9 #E94884 #D4E948 #48E9AE
square
#5D48E9 #E94884 #D4E948 #48E9AE
split-complementary
#5D48E9 #E9AE48 #84E948
monochromatic
#2614A3 #331ADA #5D48E9 #8D7FF0 #BEB5F6

Accessibility & contrast

On white

5.88
#5D48E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5D48E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48E9
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48E9#FFFFFF#000000##FFFFFF
##5D48E91.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEE
Deuteranopia (green-blind)
#005EE6
Tritanopia (blue-blind)
#007393
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d48e9;
/* rgb */ color: rgb(93, 72, 233);
/* oklch */ color: oklch(52.7% 0.230 280.9);
Tailwind
colors: {
  custom: {
    50: '#997df1',
    500: '#5d48e9',
    950: '#000000',
  },
}
SCSS
$custom: #5d48e9;
$custom-light: #997df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48e9",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 233
  },
  "hsl": {
    "h": 247.826,
    "s": 78.537,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52714,
    "c": 0.23006,
    "h": 280.9
  },
  "luminance": 0.12845
}

Semantic roles & 50–950 ramp

primary
#5D48E9
secondary
#DDE6A7
accent
#F533DC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D48E9

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

Preview Lab → · Contrast checker → · Palette generator →

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