#5B4FDE#5B4FDE

#5B4FDE is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.7% C 0.209 H 280.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5B4FDE
RGBrgb(91, 79, 222)
HSLhsl(245, 68%, 59%)
HSVhsv(245, 64%, 87%)
CMYKcmyk(59%, 64.4%, 0%, 12.9%)
CIE-LABlab(42.90, 44.97, -71.52)
CIE-LCHlch(42.90, 84.48, 302.16°)
OKLaboklab(52.66% 0.037 -0.2059)
OKLCHoklch(52.66% 0.209 280.2)
XYZxyz(20.2910, 13.0886, 70.5502)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4FDE #D2DE4F
analogous
#4F8BDE #5B4FDE #A34FDE
triadic
#5B4FDE #DE5B4F #4FDE5B
tetradic
#5B4FDE #DE4F8B #D2DE4F #4FDEA3
square
#5B4FDE #DE4F8B #D2DE4F #4FDEA3
split-complementary
#5B4FDE #DEA34F #8BDE4F
monochromatic
#261C96 #3426CA #5B4FDE #8B83E8 #BBB6F1

Accessibility & contrast

On white

5.80
#5B4FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5B4FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4FDE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4FDE#FFFFFF#000000##FFFFFF
##5B4FDE1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#0060DB
Tritanopia (blue-blind)
#00738F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b4fde;
/* rgb */ color: rgb(91, 79, 222);
/* oklch */ color: oklch(52.7% 0.209 280.2);
Tailwind
colors: {
  custom: {
    50: '#9681e9',
    500: '#5b4fde',
    950: '#000000',
  },
}
SCSS
$custom: #5b4fde;
$custom-light: #9681e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4fde",
  "rgb": {
    "r": 91,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 245.035,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52659,
    "c": 0.20916,
    "h": 280.2
  },
  "luminance": 0.1309
}

Semantic roles & 50–950 ramp

primary
#5B4FDE
secondary
#DCE0A8
accent
#EB3DDD
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5B4FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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