#5D49E4#5D49E4

#5D49E4 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.4% C 0.223 H 281.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5D49E4
RGBrgb(93, 73, 228)
HSLhsl(248, 74%, 59%)
HSVhsv(248, 68%, 89%)
CMYKcmyk(59.2%, 68%, 0%, 10.6%)
CIE-LABlab(42.30, 50.50, -75.91)
CIE-LCHlch(42.30, 91.17, 303.63°)
OKLaboklab(52.42% 0.0437 -0.2187)
OKLCHoklch(52.42% 0.223 281.3)
XYZxyz(20.8959, 12.6922, 74.7325)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D49E4 #D0E449
analogous
#4983E4 #5D49E4 #AB49E4
triadic
#5D49E4 #E45D49 #49E45D
tetradic
#5D49E4 #E44983 #D0E449 #49E4AB
square
#5D49E4 #E44983 #D0E449 #49E4AB
split-complementary
#5D49E4 #E4AB49 #83E449
monochromatic
#28179C #361FD1 #5D49E4 #8C7EEC #BCB4F4

Accessibility & contrast

On white

5.93
#5D49E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5D49E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D49E4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D49E4#FFFFFF#000000##FFFFFF
##5D49E41.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d49e4;
/* rgb */ color: rgb(93, 73, 228);
/* oklch */ color: oklch(52.4% 0.223 281.3);
Tailwind
colors: {
  custom: {
    50: '#997eee',
    500: '#5d49e4',
    950: '#000000',
  },
}
SCSS
$custom: #5d49e4;
$custom-light: #997eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d49e4",
  "rgb": {
    "r": 93,
    "g": 73,
    "b": 228
  },
  "hsl": {
    "h": 247.742,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52417,
    "c": 0.223,
    "h": 281.3
  },
  "luminance": 0.12694
}

Semantic roles & 50–950 ramp

primary
#5D49E4
secondary
#DBE3A6
accent
#F137D9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D49E4

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

Preview Lab → · Contrast checker → · Palette generator →

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