#5D49E5#5D49E5

#5D49E5 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.5% C 0.224 H 281.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5D49E5
RGBrgb(93, 73, 229)
HSLhsl(248, 75%, 59%)
HSVhsv(248, 68%, 90%)
CMYKcmyk(59.4%, 68.1%, 0%, 10.2%)
CIE-LABlab(42.38, 50.80, -76.34)
CIE-LCHlch(42.38, 91.69, 303.64°)
OKLaboklab(52.51% 0.0435 -0.2199)
OKLCHoklch(52.51% 0.224 281.2)
XYZxyz(21.0352, 12.7479, 75.4657)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D49E5 #D1E549
analogous
#4983E5 #5D49E5 #AB49E5
triadic
#5D49E5 #E55D49 #49E55D
tetradic
#5D49E5 #E54983 #D1E549 #49E5AB
square
#5D49E5 #E54983 #D1E549 #49E5AB
split-complementary
#5D49E5 #E5AB49 #83E549
monochromatic
#28169D #351ED3 #5D49E5 #8D7FED #BCB4F4

Accessibility & contrast

On white

5.92
#5D49E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5D49E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D49E5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D49E5#FFFFFF#000000##FFFFFF
##5D49E51.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d49e5;
/* rgb */ color: rgb(93, 73, 229);
/* oklch */ color: oklch(52.5% 0.224 281.2);
Tailwind
colors: {
  custom: {
    50: '#997eee',
    500: '#5d49e5',
    950: '#000000',
  },
}
SCSS
$custom: #5d49e5;
$custom-light: #997eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d49e5",
  "rgb": {
    "r": 93,
    "g": 73,
    "b": 229
  },
  "hsl": {
    "h": 247.692,
    "s": 75,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52505,
    "c": 0.22421,
    "h": 281.2
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

primary
#5D49E5
secondary
#DCE3A6
accent
#F236DA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D49E5

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

Preview Lab → · Contrast checker → · Palette generator →

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