#5B44E1#5B44E1

#5B44E1 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.3% C 0.225 H 281.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5B44E1
RGBrgb(91, 68, 225)
HSLhsl(249, 72%, 57%)
HSVhsv(249, 70%, 88%)
CMYKcmyk(59.6%, 69.8%, 0%, 11.8%)
CIE-LABlab(40.89, 52.04, -76.52)
CIE-LCHlch(40.89, 92.54, 304.22°)
OKLaboklab(51.29% 0.0454 -0.2205)
OKLCHoklch(51.29% 0.225 281.6)
XYZxyz(19.9679, 11.7932, 72.4437)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B44E1 #CAE144
analogous
#447BE1 #5B44E1 #AA44E1
triadic
#5B44E1 #E15B44 #44E15B
tetradic
#5B44E1 #E1447B #CAE144 #44E1AA
square
#5B44E1 #E1447B #CAE144 #44E1AA
split-complementary
#5B44E1 #E1AA44 #7BE144
monochromatic
#2A1893 #3920C8 #5B44E1 #8979E9 #B8ADF2

Accessibility & contrast

On white

6.25
#5B44E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5B44E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B44E1
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B44E1#FFFFFF#000000##FFFFFF
##5B44E11.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E6
Deuteranopia (green-blind)
#005BDE
Tritanopia (blue-blind)
#006E8E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b44e1;
/* rgb */ color: rgb(91, 68, 225);
/* oklch */ color: oklch(51.3% 0.225 281.6);
Tailwind
colors: {
  custom: {
    50: '#977aec',
    500: '#5b44e1',
    950: '#000000',
  },
}
SCSS
$custom: #5b44e1;
$custom-light: #977aec;
$custom-dark: #000000;
JSON
{
  "hex": "#5b44e1",
  "rgb": {
    "r": 91,
    "g": 68,
    "b": 225
  },
  "hsl": {
    "h": 248.79,
    "s": 72.35,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51288,
    "c": 0.22513,
    "h": 281.6
  },
  "luminance": 0.11795
}

Semantic roles & 50–950 ramp

primary
#5B44E1
secondary
#D7E0A1
accent
#EF39D4
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5B44E1

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

Preview Lab → · Contrast checker → · Palette generator →

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