#5B4FDD#5B4FDD

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

Color values

HEX#5B4FDD
RGBrgb(91, 79, 221)
HSLhsl(245, 68%, 59%)
HSVhsv(245, 64%, 87%)
CMYKcmyk(58.8%, 64.3%, 0%, 13.3%)
CIE-LABlab(42.82, 44.66, -71.08)
CIE-LCHlch(42.82, 83.94, 302.14°)
OKLaboklab(52.58% 0.0371 -0.2046)
OKLCHoklch(52.58% 0.208 280.3)
XYZxyz(20.1574, 13.0352, 69.8464)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4FDD #D1DD4F
analogous
#4F8ADD #5B4FDD #A24FDD
triadic
#5B4FDD #DD5B4F #4FDD5B
tetradic
#5B4FDD #DD4F8A #D1DD4F #4FDDA2
square
#5B4FDD #DD4F8A #D1DD4F #4FDDA2
split-complementary
#5B4FDD #DDA24F #8ADD4F
monochromatic
#271D95 #3427C8 #5B4FDD #8B82E7 #BBB6F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B4FDD#FFFFFF#000000##FFFFFF
##5B4FDD1.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)
#006AE1
Deuteranopia (green-blind)
#0060DA
Tritanopia (blue-blind)
#00738F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b4fdd;
/* rgb */ color: rgb(91, 79, 221);
/* oklch */ color: oklch(52.6% 0.208 280.3);
Tailwind
colors: {
  custom: {
    50: '#9681e9',
    500: '#5b4fdd',
    950: '#000000',
  },
}
SCSS
$custom: #5b4fdd;
$custom-light: #9681e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4fdd",
  "rgb": {
    "r": 91,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 245.07,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52576,
    "c": 0.20792,
    "h": 280.3
  },
  "luminance": 0.13037
}

Semantic roles & 50–950 ramp

primary
#5B4FDD
secondary
#DBE0A8
accent
#EA3DDC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5B4FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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