#5B4CE3#5B4CE3

#5B4CE3 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.6% C 0.219 H 280.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5B4CE3
RGBrgb(91, 76, 227)
HSLhsl(246, 73%, 59%)
HSVhsv(246, 67%, 89%)
CMYKcmyk(59.9%, 66.5%, 0%, 11%)
CIE-LABlab(42.67, 48.23, -74.74)
CIE-LCHlch(42.67, 88.95, 302.84°)
OKLaboklab(52.62% 0.0389 -0.2153)
OKLCHoklch(52.62% 0.219 280.2)
XYZxyz(20.7596, 12.9376, 74.0614)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4CE3 #D4E34C
analogous
#4C89E3 #5B4CE3 #A64CE3
triadic
#5B4CE3 #E35B4C #4CE35B
tetradic
#5B4CE3 #E34C89 #D4E34C #4CE3A6
square
#5B4CE3 #E34C89 #D4E34C #4CE3A6
split-complementary
#5B4CE3 #E3A64C #89E34C
monochromatic
#26189C #3221D1 #5B4CE3 #8B81EB #BCB6F4

Accessibility & contrast

On white

5.85
#5B4CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5B4CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4CE3
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4CE3#FFFFFF#000000##FFFFFF
##5B4CE31.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE8
Deuteranopia (green-blind)
#005FE0
Tritanopia (blue-blind)
#007391
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b4ce3;
/* rgb */ color: rgb(91, 76, 227);
/* oklch */ color: oklch(52.6% 0.219 280.2);
Tailwind
colors: {
  custom: {
    50: '#977fed',
    500: '#5b4ce3',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ce3;
$custom-light: #977fed;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ce3",
  "rgb": {
    "r": 91,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 245.96,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52621,
    "c": 0.21879,
    "h": 280.2
  },
  "luminance": 0.12939
}

Semantic roles & 50–950 ramp

primary
#5B4CE3
secondary
#DDE3A8
accent
#F038DD
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B4CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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