#5B4FF8#5B4FF8

#5B4FF8 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.9% C 0.241 H 278.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5B4FF8
RGBrgb(91, 79, 248)
HSLhsl(244, 92%, 64%)
HSVhsv(244, 68%, 97%)
CMYKcmyk(63.3%, 68.1%, 0%, 2.7%)
CIE-LABlab(45.07, 53.01, -82.64)
CIE-LCHlch(45.07, 98.18, 302.68°)
OKLaboklab(54.9% 0.0338 -0.2384)
OKLCHoklch(54.9% 0.241 278.1)
XYZxyz(24.0482, 14.5915, 90.3379)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4FF8 #ECF84F
analogous
#4F98F8 #5B4FF8 #AF4FF8
triadic
#5B4FF8 #F85B4F #4FF85B
tetradic
#5B4FF8 #F84F98 #ECF84F #4FF8AF
square
#5B4FF8 #F84F98 #ECF84F #4FF8AF
split-complementary
#5B4FF8 #F8AF4F #98F84F
monochromatic
#1508C5 #2414F6 #5B4FF8 #928AFA #C9C5FD

Accessibility & contrast

On white

5.36
#5B4FF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5B4FF8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4FF8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4FF8#FFFFFF#000000##FFFFFF
##5B4FF81.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FD
Deuteranopia (green-blind)
#0064F5
Tritanopia (blue-blind)
#007C9E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5b4ff8;
/* rgb */ color: rgb(91, 79, 248);
/* oklch */ color: oklch(54.9% 0.241 278.1);
Tailwind
colors: {
  custom: {
    50: '#9b82fc',
    500: '#5b4ff8',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ff8;
$custom-light: #9b82fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ff8",
  "rgb": {
    "r": 91,
    "g": 79,
    "b": 248
  },
  "hsl": {
    "h": 244.26,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.54896,
    "c": 0.24083,
    "h": 278.1
  },
  "luminance": 0.14593
}

Semantic roles & 50–950 ramp

primary
#5B4FF8
secondary
#EBEFB4
accent
#E600D5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5B4FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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