#5B4BE1#5B4BE1

#5B4BE1 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.3% C 0.217 H 280.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5B4BE1
RGBrgb(91, 75, 225)
HSLhsl(246, 71%, 59%)
HSVhsv(246, 67%, 88%)
CMYKcmyk(59.6%, 66.7%, 0%, 11.8%)
CIE-LABlab(42.29, 48.18, -74.21)
CIE-LCHlch(42.29, 88.48, 302.99°)
OKLaboklab(52.3% 0.04 -0.2138)
OKLCHoklch(52.3% 0.217 280.6)
XYZxyz(20.4168, 12.6911, 72.5933)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4BE1 #D1E14B
analogous
#4B86E1 #5B4BE1 #A64BE1
triadic
#5B4BE1 #E15B4B #4BE15B
tetradic
#5B4BE1 #E14B86 #D1E14B #4BE1A6
square
#5B4BE1 #E14B86 #D1E14B #4BE1A6
split-complementary
#5B4BE1 #E1A64B #86E14B
monochromatic
#271998 #3422CD #5B4BE1 #8B7FEA #BBB4F2

Accessibility & contrast

On white

5.93
#5B4BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5B4BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4BE1
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4BE1#FFFFFF#000000##FFFFFF
##5B4BE11.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#005EDE
Tritanopia (blue-blind)
#007290
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b4be1;
/* rgb */ color: rgb(91, 75, 225);
/* oklch */ color: oklch(52.3% 0.217 280.6);
Tailwind
colors: {
  custom: {
    50: '#977fec',
    500: '#5b4be1',
    950: '#000000',
  },
}
SCSS
$custom: #5b4be1;
$custom-light: #977fec;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4be1",
  "rgb": {
    "r": 91,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 246.4,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.21747,
    "h": 280.6
  },
  "luminance": 0.12693
}

Semantic roles & 50–950 ramp

primary
#5B4BE1
secondary
#DBE1A6
accent
#EE3ADB
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B4BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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