#5D49E1#5D49E1

#5D49E1 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.2% C 0.219 H 281.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5D49E1
RGBrgb(93, 73, 225)
HSLhsl(248, 72%, 58%)
HSVhsv(248, 68%, 88%)
CMYKcmyk(58.7%, 67.6%, 0%, 11.8%)
CIE-LABlab(42.04, 49.59, -74.62)
CIE-LCHlch(42.04, 89.59, 303.61°)
OKLaboklab(52.16% 0.0441 -0.2149)
OKLCHoklch(52.16% 0.219 281.6)
XYZxyz(20.4831, 12.5271, 72.5582)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D49E1 #CDE149
analogous
#4981E1 #5D49E1 #A949E1
triadic
#5D49E1 #E15D49 #49E15D
tetradic
#5D49E1 #E14981 #CDE149 #49E1A9
square
#5D49E1 #E14981 #CDE149 #49E1A9
split-complementary
#5D49E1 #E1A949 #81E149
monochromatic
#291997 #3822CB #5D49E1 #8C7EEA #BBB2F2

Accessibility & contrast

On white

5.99
#5D49E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D49E1
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D49E1#FFFFFF#000000##FFFFFF
##5D49E11.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d49e1;
/* rgb */ color: rgb(93, 73, 225);
/* oklch */ color: oklch(52.2% 0.219 281.6);
Tailwind
colors: {
  custom: {
    50: '#987dec',
    500: '#5d49e1',
    950: '#000000',
  },
}
SCSS
$custom: #5d49e1;
$custom-light: #987dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5d49e1",
  "rgb": {
    "r": 93,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 247.895,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52157,
    "c": 0.21938,
    "h": 281.6
  },
  "luminance": 0.12528
}

Semantic roles & 50–950 ramp

primary
#5D49E1
secondary
#D9E1A5
accent
#EE39D7
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D49E1

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

Preview Lab → · Contrast checker → · Palette generator →

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