#5D48E2#5D48E2

#5D48E2 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.1% C 0.222 H 281.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5D48E2
RGBrgb(93, 72, 226)
HSLhsl(248, 73%, 58%)
HSVhsv(248, 68%, 89%)
CMYKcmyk(58.8%, 68.1%, 0%, 11.4%)
CIE-LABlab(41.92, 50.44, -75.38)
CIE-LCHlch(41.92, 90.70, 303.79°)
OKLaboklab(52.1% 0.0448 -0.2171)
OKLCHoklch(52.1% 0.222 281.7)
XYZxyz(20.5547, 12.4515, 73.2570)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48E2 #CDE248
analogous
#4880E2 #5D48E2 #AA48E2
triadic
#5D48E2 #E25D48 #48E25D
tetradic
#5D48E2 #E24880 #CDE248 #48E2AA
square
#5D48E2 #E24880 #CDE248 #48E2AA
split-complementary
#5D48E2 #E2AA48 #80E248
monochromatic
#291898 #3820CC #5D48E2 #8C7DEA #BBB2F3

Accessibility & contrast

On white

6.02
#5D48E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5D48E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48E2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48E2#FFFFFF#000000##FFFFFF
##5D48E21.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d48e2;
/* rgb */ color: rgb(93, 72, 226);
/* oklch */ color: oklch(52.1% 0.222 281.7);
Tailwind
colors: {
  custom: {
    50: '#987dec',
    500: '#5d48e2',
    950: '#000000',
  },
}
SCSS
$custom: #5d48e2;
$custom-light: #987dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48e2",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 248.182,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52099,
    "c": 0.2217,
    "h": 281.7
  },
  "luminance": 0.12453
}

Semantic roles & 50–950 ramp

primary
#5D48E2
secondary
#D9E1A4
accent
#EF38D6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D48E2

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

Preview Lab → · Contrast checker → · Palette generator →

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