#5B44D1#5B44D1

#5B44D1 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.9% C 0.206 H 283.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5B44D1
RGBrgb(91, 68, 209)
HSLhsl(250, 61%, 54%)
HSVhsv(250, 67%, 82%)
CMYKcmyk(56.5%, 67.5%, 0%, 18%)
CIE-LABlab(39.51, 47.24, -69.59)
CIE-LCHlch(39.51, 84.11, 304.17°)
OKLaboklab(49.89% 0.048 -0.2002)
OKLCHoklch(49.89% 0.206 283.5)
XYZxyz(17.8866, 10.9607, 61.4824)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B44D1 #BAD144
analogous
#4474D1 #5B44D1 #A244D1
triadic
#5B44D1 #D15B44 #44D15B
tetradic
#5B44D1 #D14474 #BAD144 #44D1A2
square
#5B44D1 #D14474 #BAD144 #44D1A2
split-complementary
#5B44D1 #D1A244 #74D144
monochromatic
#2E1F7C #402BAD #5B44D1 #8675DD #B1A6E9

Accessibility & contrast

On white

6.58
#5B44D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5B44D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B44D1
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B44D1#FFFFFF#000000##FFFFFF
##5B44D11.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#0058CE
Tritanopia (blue-blind)
#1E6885
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5b44d1;
/* rgb */ color: rgb(91, 68, 209);
/* oklch */ color: oklch(49.9% 0.206 283.5);
Tailwind
colors: {
  custom: {
    50: '#957ae0',
    500: '#5b44d1',
    950: '#000000',
  },
}
SCSS
$custom: #5b44d1;
$custom-light: #957ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b44d1",
  "rgb": {
    "r": 91,
    "g": 68,
    "b": 209
  },
  "hsl": {
    "h": 249.787,
    "s": 60.515,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49885,
    "c": 0.20588,
    "h": 283.5
  },
  "luminance": 0.10962
}

Semantic roles & 50–950 ramp

primary
#5B44D1
secondary
#CDD69A
accent
#E444CA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5B44D1

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

Preview Lab → · Contrast checker → · Palette generator →

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