#5E49E4#5E49E4

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

Color values

HEX#5E49E4
RGBrgb(94, 73, 228)
HSLhsl(248, 74%, 59%)
HSVhsv(248, 68%, 89%)
CMYKcmyk(58.8%, 68%, 0%, 10.6%)
CIE-LABlab(42.38, 50.64, -75.77)
CIE-LCHlch(42.38, 91.14, 303.75°)
OKLaboklab(52.5% 0.045 -0.2183)
OKLCHoklch(52.5% 0.223 281.6)
XYZxyz(20.9979, 12.7448, 74.7372)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E49E4 #CFE449
analogous
#4982E4 #5E49E4 #AC49E4
triadic
#5E49E4 #E45E49 #49E45E
tetradic
#5E49E4 #E44982 #CFE449 #49E4AC
square
#5E49E4 #E44982 #CFE449 #49E4AC
split-complementary
#5E49E4 #E4AC49 #82E449
monochromatic
#29179C #371FD1 #5E49E4 #8D7EEC #BCB4F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E49E4#FFFFFF#000000##FFFFFF
##5E49E41.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)
#0069E9
Deuteranopia (green-blind)
#005EE1
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e49e4;
/* rgb */ color: rgb(94, 73, 228);
/* oklch */ color: oklch(52.5% 0.223 281.6);
Tailwind
colors: {
  custom: {
    50: '#997eee',
    500: '#5e49e4',
    950: '#000000',
  },
}
SCSS
$custom: #5e49e4;
$custom-light: #997eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e49e4",
  "rgb": {
    "r": 94,
    "g": 73,
    "b": 228
  },
  "hsl": {
    "h": 248.129,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52495,
    "c": 0.22285,
    "h": 281.6
  },
  "luminance": 0.12746
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E49E4

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

Preview Lab → · Contrast checker → · Palette generator →

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