#5B49E4#5B49E4

#5B49E4 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.3% C 0.223 H 280.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5B49E4
RGBrgb(91, 73, 228)
HSLhsl(247, 74%, 59%)
HSVhsv(247, 68%, 89%)
CMYKcmyk(60.1%, 68%, 0%, 10.6%)
CIE-LABlab(42.14, 50.21, -76.17)
CIE-LCHlch(42.14, 91.24, 303.39°)
OKLaboklab(52.26% 0.0411 -0.2195)
OKLCHoklch(52.26% 0.223 280.6)
XYZxyz(20.6961, 12.5892, 74.7231)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49E4 #D2E449
analogous
#4985E4 #5B49E4 #A949E4
triadic
#5B49E4 #E45B49 #49E45B
tetradic
#5B49E4 #E44985 #D2E449 #49E4A9
square
#5B49E4 #E44985 #D2E449 #49E4A9
split-complementary
#5B49E4 #E4A949 #85E449
monochromatic
#26179C #341FD1 #5B49E4 #8B7EEC #BBB4F4

Accessibility & contrast

On white

5.97
#5B49E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5B49E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49E4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49E4#FFFFFF#000000##FFFFFF
##5B49E41.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#005EE1
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5b49e4;
/* rgb */ color: rgb(91, 73, 228);
/* oklch */ color: oklch(52.3% 0.223 280.6);
Tailwind
colors: {
  custom: {
    50: '#987dee',
    500: '#5b49e4',
    950: '#000000',
  },
}
SCSS
$custom: #5b49e4;
$custom-light: #987dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49e4",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 228
  },
  "hsl": {
    "h": 246.968,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52264,
    "c": 0.22333,
    "h": 280.6
  },
  "luminance": 0.12591
}

Semantic roles & 50–950 ramp

primary
#5B49E4
secondary
#DCE3A6
accent
#F137DB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B49E4

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

Preview Lab → · Contrast checker → · Palette generator →

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