#5B4FE4#5B4FE4

#5B4FE4 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.2% C 0.217 H 279.7°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5B4FE4
RGBrgb(91, 79, 228)
HSLhsl(245, 73%, 60%)
HSVhsv(245, 65%, 89%)
CMYKcmyk(60.1%, 65.4%, 0%, 10.6%)
CIE-LABlab(43.38, 46.83, -74.14)
CIE-LCHlch(43.38, 87.69, 302.28°)
OKLaboklab(53.16% 0.0364 -0.2135)
OKLCHoklch(53.16% 0.217 279.7)
XYZxyz(21.1095, 13.4160, 74.8609)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4FE4 #D8E44F
analogous
#4F8EE4 #5B4FE4 #A54FE4
triadic
#5B4FE4 #E45B4F #4FE45B
tetradic
#5B4FE4 #E44F8E #D8E44F #4FE4A5
square
#5B4FE4 #E44F8E #D8E44F #4FE4A5
split-complementary
#5B4FE4 #E4A54F #8EE44F
monochromatic
#2319A0 #2F21D5 #5B4FE4 #8C84EC #BEB9F4

Accessibility & contrast

On white

5.70
#5B4FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5B4FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4FE4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4FE4#FFFFFF#000000##FFFFFF
##5B4FE41.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5b4fe4;
/* rgb */ color: rgb(91, 79, 228);
/* oklch */ color: oklch(53.2% 0.217 279.7);
Tailwind
colors: {
  custom: {
    50: '#9781ee',
    500: '#5b4fe4',
    950: '#000000',
  },
}
SCSS
$custom: #5b4fe4;
$custom-light: #9781ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4fe4",
  "rgb": {
    "r": 91,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 244.832,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53163,
    "c": 0.21662,
    "h": 279.7
  },
  "luminance": 0.13418
}

Semantic roles & 50–950 ramp

primary
#5B4FE4
secondary
#DFE4AB
accent
#D610C6
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B4FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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