#5B49E6#5B49E6

#5B49E6 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.4% C 0.226 H 280.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5B49E6
RGBrgb(91, 73, 230)
HSLhsl(247, 76%, 59%)
HSVhsv(247, 68%, 90%)
CMYKcmyk(60.4%, 68.3%, 0%, 9.8%)
CIE-LABlab(42.31, 50.82, -77.03)
CIE-LCHlch(42.31, 92.28, 303.42°)
OKLaboklab(52.44% 0.0408 -0.222)
OKLCHoklch(52.44% 0.226 280.4)
XYZxyz(20.9753, 12.7009, 76.1938)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49E6 #D4E649
analogous
#4986E6 #5B49E6 #AA49E6
triadic
#5B49E6 #E65B49 #49E65B
tetradic
#5B49E6 #E64986 #D4E649 #49E6AA
square
#5B49E6 #E64986 #D4E649 #49E6AA
split-complementary
#5B49E6 #E6AA49 #86E649
monochromatic
#26169F #321DD5 #5B49E6 #8B7FED #BCB5F5

Accessibility & contrast

On white

5.93
#5B49E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5B49E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49E6
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49E6#FFFFFF#000000##FFFFFF
##5B49E61.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#005EE3
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b49e6;
/* rgb */ color: rgb(91, 73, 230);
/* oklch */ color: oklch(52.4% 0.226 280.4);
Tailwind
colors: {
  custom: {
    50: '#987eef',
    500: '#5b49e6',
    950: '#000000',
  },
}
SCSS
$custom: #5b49e6;
$custom-light: #987eef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49e6",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 230
  },
  "hsl": {
    "h": 246.879,
    "s": 75.845,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5244,
    "c": 0.22574,
    "h": 280.4
  },
  "luminance": 0.12702
}

Semantic roles & 50–950 ramp

primary
#5B49E6
secondary
#DDE4A7
accent
#F235DD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B49E6

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

Preview Lab → · Contrast checker → · Palette generator →

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