#5B49E5#5B49E5

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

Color values

HEX#5B49E5
RGBrgb(91, 73, 229)
HSLhsl(247, 75%, 59%)
HSVhsv(247, 68%, 90%)
CMYKcmyk(60.3%, 68.1%, 0%, 10.2%)
CIE-LABlab(42.22, 50.52, -76.60)
CIE-LCHlch(42.22, 91.76, 303.40°)
OKLaboklab(52.35% 0.0409 -0.2208)
OKLCHoklch(52.35% 0.225 280.5)
XYZxyz(20.8353, 12.6449, 75.4563)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49E5 #D3E549
analogous
#4985E5 #5B49E5 #A949E5
triadic
#5B49E5 #E55B49 #49E55B
tetradic
#5B49E5 #E54985 #D3E549 #49E5A9
square
#5B49E5 #E54985 #D3E549 #49E5A9
split-complementary
#5B49E5 #E5A949 #85E549
monochromatic
#26169D #331ED3 #5B49E5 #8B7FED #BCB4F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B49E5#FFFFFF#000000##FFFFFF
##5B49E51.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)
#0069EA
Deuteranopia (green-blind)
#005EE2
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b49e5;
/* rgb */ color: rgb(91, 73, 229);
/* oklch */ color: oklch(52.4% 0.225 280.5);
Tailwind
colors: {
  custom: {
    50: '#987dee',
    500: '#5b49e5',
    950: '#000000',
  },
}
SCSS
$custom: #5b49e5;
$custom-light: #987dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49e5",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 229
  },
  "hsl": {
    "h": 246.923,
    "s": 75,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52352,
    "c": 0.22453,
    "h": 280.5
  },
  "luminance": 0.12646
}

Semantic roles & 50–950 ramp

primary
#5B49E5
secondary
#DCE3A6
accent
#F236DC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B49E5

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

Preview Lab → · Contrast checker → · Palette generator →

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