#5E49E1#5E49E1

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

Color values

HEX#5E49E1
RGBrgb(94, 73, 225)
HSLhsl(248, 72%, 58%)
HSVhsv(248, 68%, 88%)
CMYKcmyk(58.2%, 67.6%, 0%, 11.8%)
CIE-LABlab(42.12, 49.74, -74.48)
CIE-LCHlch(42.12, 89.56, 303.73°)
OKLaboklab(52.24% 0.0454 -0.2145)
OKLCHoklch(52.24% 0.219 282)
XYZxyz(20.5850, 12.5796, 72.5629)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E49E1 #CCE149
analogous
#4980E1 #5E49E1 #AA49E1
triadic
#5E49E1 #E15E49 #49E15E
tetradic
#5E49E1 #E14980 #CCE149 #49E1AA
square
#5E49E1 #E14980 #CCE149 #49E1AA
split-complementary
#5E49E1 #E1AA49 #80E149
monochromatic
#2A1997 #3922CB #5E49E1 #8C7EEA #BBB2F2

Accessibility & contrast

On white

5.97
#5E49E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5E49E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E49E1
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E49E1#FFFFFF#000000##FFFFFF
##5E49E11.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e49e1;
/* rgb */ color: rgb(94, 73, 225);
/* oklch */ color: oklch(52.2% 0.219 282.0);
Tailwind
colors: {
  custom: {
    50: '#997dec',
    500: '#5e49e1',
    950: '#000000',
  },
}
SCSS
$custom: #5e49e1;
$custom-light: #997dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5e49e1",
  "rgb": {
    "r": 94,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 248.289,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52235,
    "c": 0.21924,
    "h": 282
  },
  "luminance": 0.12581
}

Semantic roles & 50–950 ramp

primary
#5E49E1
secondary
#D9E1A5
accent
#EE39D5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E49E1

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

Preview Lab → · Contrast checker → · Palette generator →

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