#5B4FE6#5B4FE6

#5B4FE6 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.3% C 0.219 H 279.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5B4FE6
RGBrgb(91, 79, 230)
HSLhsl(245, 75%, 61%)
HSVhsv(245, 66%, 90%)
CMYKcmyk(60.4%, 65.7%, 0%, 9.8%)
CIE-LABlab(43.55, 47.45, -75.00)
CIE-LCHlch(43.55, 88.75, 302.32°)
OKLaboklab(53.33% 0.0362 -0.2161)
OKLCHoklch(53.33% 0.219 279.5)
XYZxyz(21.3888, 13.5277, 76.3316)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4FE6 #DAE64F
analogous
#4F8EE6 #5B4FE6 #A64FE6
triadic
#5B4FE6 #E65B4F #4FE65B
tetradic
#5B4FE6 #E64F8E #DAE64F #4FE6A6
square
#5B4FE6 #E64F8E #DAE64F #4FE6A6
split-complementary
#5B4FE6 #E6A64F #8EE64F
monochromatic
#2217A3 #2E1FD9 #5B4FE6 #8D85EE #BFBAF5

Accessibility & contrast

On white

5.67
#5B4FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5B4FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4FE6
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4FE6#FFFFFF#000000##FFFFFF
##5B4FE61.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEB
Deuteranopia (green-blind)
#0061E3
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5b4fe6;
/* rgb */ color: rgb(91, 79, 230);
/* oklch */ color: oklch(53.3% 0.219 279.5);
Tailwind
colors: {
  custom: {
    50: '#9781ef',
    500: '#5b4fe6',
    950: '#000000',
  },
}
SCSS
$custom: #5b4fe6;
$custom-light: #9781ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4fe6",
  "rgb": {
    "r": 91,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 244.768,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53332,
    "c": 0.21908,
    "h": 279.5
  },
  "luminance": 0.13529
}

Semantic roles & 50–950 ramp

primary
#5B4FE6
secondary
#E1E5AC
accent
#D70EC7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B4FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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