#5E49E2#5E49E2

#5E49E2 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.3% C 0.220 H 281.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5E49E2
RGBrgb(94, 73, 226)
HSLhsl(248, 73%, 59%)
HSVhsv(248, 68%, 89%)
CMYKcmyk(58.4%, 67.7%, 0%, 11.4%)
CIE-LABlab(42.21, 50.04, -74.91)
CIE-LCHlch(42.21, 90.09, 303.74°)
OKLaboklab(52.32% 0.0453 -0.2157)
OKLCHoklch(52.32% 0.22 281.9)
XYZxyz(20.7218, 12.6344, 73.2835)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E49E2 #CDE249
analogous
#4980E2 #5E49E2 #AA49E2
triadic
#5E49E2 #E25E49 #49E25E
tetradic
#5E49E2 #E24980 #CDE249 #49E2AA
square
#5E49E2 #E24980 #CDE249 #49E2AA
split-complementary
#5E49E2 #E2AA49 #80E249
monochromatic
#2A1898 #3821CD #5E49E2 #8D7EEA #BBB3F3

Accessibility & contrast

On white

5.95
#5E49E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5E49E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E49E2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E49E2#FFFFFF#000000##FFFFFF
##5E49E21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e49e2;
/* rgb */ color: rgb(94, 73, 226);
/* oklch */ color: oklch(52.3% 0.220 281.9);
Tailwind
colors: {
  custom: {
    50: '#997eec',
    500: '#5e49e2',
    950: '#000000',
  },
}
SCSS
$custom: #5e49e2;
$custom-light: #997eec;
$custom-dark: #000000;
JSON
{
  "hex": "#5e49e2",
  "rgb": {
    "r": 94,
    "g": 73,
    "b": 226
  },
  "hsl": {
    "h": 248.235,
    "s": 72.512,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52322,
    "c": 0.22044,
    "h": 281.9
  },
  "luminance": 0.12636
}

Semantic roles & 50–950 ramp

primary
#5E49E2
secondary
#D9E2A5
accent
#EF39D6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E49E2

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

Preview Lab → · Contrast checker → · Palette generator →

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