#5B4FF2#5B4FF2

#5B4FF2 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.4% C 0.234 H 278.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5B4FF2
RGBrgb(91, 79, 242)
HSLhsl(244, 86%, 63%)
HSVhsv(244, 67%, 95%)
CMYKcmyk(62.4%, 67.4%, 0%, 5.1%)
CIE-LABlab(44.55, 51.16, -80.12)
CIE-LCHlch(44.55, 95.06, 302.56°)
OKLaboklab(54.37% 0.0346 -0.2311)
OKLCHoklch(54.37% 0.234 278.5)
XYZxyz(23.1322, 14.2251, 85.5139)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4FF2 #E6F24F
analogous
#4F95F2 #5B4FF2 #AC4FF2
triadic
#5B4FF2 #F25B4F #4FF25B
tetradic
#5B4FF2 #F24F95 #E6F24F #4FF2AC
square
#5B4FF2 #F24F95 #E6F24F #4FF2AC
split-complementary
#5B4FF2 #F2AC4F #95F24F
monochromatic
#1A0EB9 #2616EE #5B4FF2 #9088F6 #C5C1FA

Accessibility & contrast

On white

5.46
#5B4FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5B4FF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4FF2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4FF2#FFFFFF#000000##FFFFFF
##5B4FF21.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F7
Deuteranopia (green-blind)
#0063EF
Tritanopia (blue-blind)
#007A9A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b4ff2;
/* rgb */ color: rgb(91, 79, 242);
/* oklch */ color: oklch(54.4% 0.234 278.5);
Tailwind
colors: {
  custom: {
    50: '#9a82f8',
    500: '#5b4ff2',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ff2;
$custom-light: #9a82f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ff2",
  "rgb": {
    "r": 91,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 244.417,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54368,
    "c": 0.23366,
    "h": 278.5
  },
  "luminance": 0.14227
}

Semantic roles & 50–950 ramp

primary
#5B4FF2
secondary
#E7ECB1
accent
#E303D2
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B4FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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