#5E49E7#5E49E7

#5E49E7 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.8% C 0.226 H 281.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5E49E7
RGBrgb(94, 73, 231)
HSLhsl(248, 77%, 60%)
HSVhsv(248, 68%, 91%)
CMYKcmyk(59.3%, 68.4%, 0%, 9.4%)
CIE-LABlab(42.63, 51.54, -77.06)
CIE-LCHlch(42.63, 92.71, 303.78°)
OKLaboklab(52.76% 0.0445 -0.222)
OKLCHoklch(52.76% 0.226 281.3)
XYZxyz(21.4179, 12.9128, 76.9496)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E49E7 #D2E749
analogous
#4983E7 #5E49E7 #AD49E7
triadic
#5E49E7 #E75E49 #49E75E
tetradic
#5E49E7 #E74983 #D2E749 #49E7AD
square
#5E49E7 #E74983 #D2E749 #49E7AD
split-complementary
#5E49E7 #E7AD49 #83E749
monochromatic
#2815A0 #351CD7 #5E49E7 #8E7FEE #BEB5F5

Accessibility & contrast

On white

5.86
#5E49E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5E49E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E49E7
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E49E7#FFFFFF#000000##FFFFFF
##5E49E71.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEC
Deuteranopia (green-blind)
#005FE4
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e49e7;
/* rgb */ color: rgb(94, 73, 231);
/* oklch */ color: oklch(52.8% 0.226 281.3);
Tailwind
colors: {
  custom: {
    50: '#9a7ef0',
    500: '#5e49e7',
    950: '#000000',
  },
}
SCSS
$custom: #5e49e7;
$custom-light: #9a7ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e49e7",
  "rgb": {
    "r": 94,
    "g": 73,
    "b": 231
  },
  "hsl": {
    "h": 247.975,
    "s": 76.699,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52757,
    "c": 0.22644,
    "h": 281.3
  },
  "luminance": 0.12914
}

Semantic roles & 50–950 ramp

primary
#5E49E7
secondary
#DCE5A7
accent
#F335DA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E49E7

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

Preview Lab → · Contrast checker → · Palette generator →

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