#5B4FE9#5B4FE9

#5B4FE9 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.6% C 0.223 H 279.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5B4FE9
RGBrgb(91, 79, 233)
HSLhsl(245, 78%, 61%)
HSVhsv(245, 66%, 91%)
CMYKcmyk(60.9%, 66.1%, 0%, 8.6%)
CIE-LABlab(43.80, 48.38, -76.29)
CIE-LCHlch(43.80, 90.34, 302.38°)
OKLaboklab(53.59% 0.0358 -0.2199)
OKLCHoklch(53.59% 0.223 279.2)
XYZxyz(21.8137, 13.6977, 78.5694)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4FE9 #DDE94F
analogous
#4F90E9 #5B4FE9 #A84FE9
triadic
#5B4FE9 #E95B4F #4FE95B
tetradic
#5B4FE9 #E94F90 #DDE94F #4FE9A8
square
#5B4FE9 #E94F90 #DDE94F #4FE9A8
split-complementary
#5B4FE9 #E9A84F #90E94F
monochromatic
#2115A9 #2B1CDF #5B4FE9 #8E85F0 #C0BCF7

Accessibility & contrast

On white

5.62
#5B4FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5B4FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4FE9
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4FE9#FFFFFF#000000##FFFFFF
##5B4FE91.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEE
Deuteranopia (green-blind)
#0061E6
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5b4fe9;
/* rgb */ color: rgb(91, 79, 233);
/* oklch */ color: oklch(53.6% 0.223 279.2);
Tailwind
colors: {
  custom: {
    50: '#9881f1',
    500: '#5b4fe9',
    950: '#000000',
  },
}
SCSS
$custom: #5b4fe9;
$custom-light: #9881f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4fe9",
  "rgb": {
    "r": 91,
    "g": 79,
    "b": 233
  },
  "hsl": {
    "h": 244.675,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.22276,
    "h": 279.2
  },
  "luminance": 0.13699
}

Semantic roles & 50–950 ramp

primary
#5B4FE9
secondary
#E2E7AD
accent
#DA0BCA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B4FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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