#5B49E9#5B49E9

#5B49E9 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.7% C 0.229 H 280.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5B49E9
RGBrgb(91, 73, 233)
HSLhsl(247, 78%, 60%)
HSVhsv(247, 69%, 91%)
CMYKcmyk(60.9%, 68.7%, 0%, 8.6%)
CIE-LABlab(42.57, 51.73, -78.30)
CIE-LCHlch(42.57, 93.85, 303.45°)
OKLaboklab(52.71% 0.0403 -0.2258)
OKLCHoklch(52.71% 0.229 280.1)
XYZxyz(21.4002, 12.8708, 78.4316)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49E9 #D7E949
analogous
#4987E9 #5B49E9 #AB49E9
triadic
#5B49E9 #E95B49 #49E95B
tetradic
#5B49E9 #E94987 #D7E949 #49E9AB
square
#5B49E9 #E94987 #D7E949 #49E9AB
split-complementary
#5B49E9 #E9AB49 #87E949
monochromatic
#2414A4 #301ADA #5B49E9 #8C80F0 #BDB6F6

Accessibility & contrast

On white

5.88
#5B49E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5B49E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49E9
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49E9#FFFFFF#000000##FFFFFF
##5B49E91.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEE
Deuteranopia (green-blind)
#005EE6
Tritanopia (blue-blind)
#007494
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b49e9;
/* rgb */ color: rgb(91, 73, 233);
/* oklch */ color: oklch(52.7% 0.229 280.1);
Tailwind
colors: {
  custom: {
    50: '#987ef1',
    500: '#5b49e9',
    950: '#000000',
  },
}
SCSS
$custom: #5b49e9;
$custom-light: #987ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49e9",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 233
  },
  "hsl": {
    "h": 246.75,
    "s": 78.431,
    "l": 60
  },
  "oklch": {
    "l": 0.52705,
    "c": 0.22933,
    "h": 280.1
  },
  "luminance": 0.12872
}

Semantic roles & 50–950 ramp

primary
#5B49E9
secondary
#DFE6A8
accent
#F533DF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B49E9

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

Preview Lab → · Contrast checker → · Palette generator →

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