#5E49E8#5E49E8

#5E49E8 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.8% C 0.228 H 281.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5E49E8
RGBrgb(94, 73, 232)
HSLhsl(248, 78%, 60%)
HSVhsv(248, 69%, 91%)
CMYKcmyk(59.5%, 68.5%, 0%, 9%)
CIE-LABlab(42.72, 51.84, -77.48)
CIE-LCHlch(42.72, 93.23, 303.78°)
OKLaboklab(52.84% 0.0444 -0.2233)
OKLCHoklch(52.84% 0.228 281.2)
XYZxyz(21.5596, 12.9694, 77.6955)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E49E8 #D3E849
analogous
#4983E8 #5E49E8 #AE49E8
triadic
#5E49E8 #E85E49 #49E85E
tetradic
#5E49E8 #E84983 #D3E849 #49E8AE
square
#5E49E8 #E84983 #D3E849 #49E8AE
split-complementary
#5E49E8 #E8AE49 #83E849
monochromatic
#2714A2 #341BD8 #5E49E8 #8E7FEF #BEB6F6

Accessibility & contrast

On white

5.84
#5E49E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5E49E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E49E8
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E49E8#FFFFFF#000000##FFFFFF
##5E49E81.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AED
Deuteranopia (green-blind)
#005FE5
Tritanopia (blue-blind)
#007393
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e49e8;
/* rgb */ color: rgb(94, 73, 232);
/* oklch */ color: oklch(52.8% 0.228 281.2);
Tailwind
colors: {
  custom: {
    50: '#9a7ef1',
    500: '#5e49e8',
    950: '#000000',
  },
}
SCSS
$custom: #5e49e8;
$custom-light: #9a7ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e49e8",
  "rgb": {
    "r": 94,
    "g": 73,
    "b": 232
  },
  "hsl": {
    "h": 247.925,
    "s": 77.561,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52844,
    "c": 0.22763,
    "h": 281.2
  },
  "luminance": 0.12971
}

Semantic roles & 50–950 ramp

primary
#5E49E8
secondary
#DDE5A8
accent
#F434DB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E49E8

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

Preview Lab → · Contrast checker → · Palette generator →

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