#5B49EC#5B49EC

#5B49EC is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 53.0% C 0.233 H 279.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5B49EC
RGBrgb(91, 73, 236)
HSLhsl(247, 81%, 61%)
HSVhsv(247, 69%, 93%)
CMYKcmyk(61.4%, 69.1%, 0%, 7.5%)
CIE-LABlab(42.83, 52.64, -79.57)
CIE-LCHlch(42.83, 95.41, 303.49°)
OKLaboklab(52.97% 0.0398 -0.2295)
OKLCHoklch(52.97% 0.233 279.8)
XYZxyz(21.8324, 13.0437, 80.7078)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49EC #DAEC49
analogous
#4988EC #5B49EC #AD49EC
triadic
#5B49EC #EC5B49 #49EC5B
tetradic
#5B49EC #EC4988 #DAEC49 #49ECAD
square
#5B49EC #EC4988 #DAEC49 #49ECAD
split-complementary
#5B49EC #ECAD49 #88EC49
monochromatic
#2212A9 #2E17E0 #5B49EC #8D80F2 #BFB8F8

Accessibility & contrast

On white

5.82
#5B49EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5B49EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49EC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49EC#FFFFFF#000000##FFFFFF
##5B49EC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF1
Deuteranopia (green-blind)
#005FE9
Tritanopia (blue-blind)
#007595
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b49ec;
/* rgb */ color: rgb(91, 73, 236);
/* oklch */ color: oklch(53.0% 0.233 279.8);
Tailwind
colors: {
  custom: {
    50: '#997ef3',
    500: '#5b49ec',
    950: '#000000',
  },
}
SCSS
$custom: #5b49ec;
$custom-light: #997ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49ec",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 236
  },
  "hsl": {
    "h": 246.626,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52971,
    "c": 0.2329,
    "h": 279.8
  },
  "luminance": 0.13045
}

Semantic roles & 50–950 ramp

primary
#5B49EC
secondary
#E1E7A9
accent
#DD08C6
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B49EC

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

Preview Lab → · Contrast checker → · Palette generator →

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