#5B4CF0#5B4CF0

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

Color values

HEX#5B4CF0
RGBrgb(91, 76, 240)
HSLhsl(245, 85%, 62%)
HSVhsv(245, 68%, 94%)
CMYKcmyk(62.1%, 68.3%, 0%, 5.9%)
CIE-LABlab(43.77, 52.21, -80.28)
CIE-LCHlch(43.77, 95.76, 303.04°)
OKLaboklab(53.76% 0.0371 -0.2315)
OKLCHoklch(53.76% 0.234 279.1)
XYZxyz(22.6220, 13.6825, 83.8701)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4CF0 #E1F04C
analogous
#4C8FF0 #5B4CF0 #AD4CF0
triadic
#5B4CF0 #F05B4C #4CF05B
tetradic
#5B4CF0 #F04C8F #E1F04C #4CF0AD
square
#5B4CF0 #F04C8F #E1F04C #4CF0AD
split-complementary
#5B4CF0 #F0AD4C #8FF04C
monochromatic
#1E0FB3 #2714EB #5B4CF0 #8F84F5 #C2BDF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B4CF0#FFFFFF#000000##FFFFFF
##5B4CF01.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)
#006EF5
Deuteranopia (green-blind)
#0061ED
Tritanopia (blue-blind)
#007898
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5b4cf0;
/* rgb */ color: rgb(91, 76, 240);
/* oklch */ color: oklch(53.8% 0.234 279.1);
Tailwind
colors: {
  custom: {
    50: '#9980f6',
    500: '#5b4cf0',
    950: '#000000',
  },
}
SCSS
$custom: #5b4cf0;
$custom-light: #9980f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4cf0",
  "rgb": {
    "r": 91,
    "g": 76,
    "b": 240
  },
  "hsl": {
    "h": 245.488,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.53755,
    "c": 0.23448,
    "h": 279.1
  },
  "luminance": 0.13684
}

Semantic roles & 50–950 ramp

primary
#5B4CF0
secondary
#E5EAAE
accent
#E104CD
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B4CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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