#5B46DE#5B46DE

#5B46DE is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.3% C 0.219 H 281.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5B46DE
RGBrgb(91, 70, 222)
HSLhsl(248, 70%, 57%)
HSVhsv(248, 68%, 87%)
CMYKcmyk(59%, 68.5%, 0%, 12.9%)
CIE-LABlab(41.02, 50.05, -74.59)
CIE-LCHlch(41.02, 89.83, 303.86°)
OKLaboklab(51.31% 0.0443 -0.2149)
OKLCHoklch(51.31% 0.219 281.7)
XYZxyz(19.6852, 11.8770, 70.3483)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B46DE #C9DE46
analogous
#467DDE #5B46DE #A746DE
triadic
#5B46DE #DE5B46 #46DE5B
tetradic
#5B46DE #DE467D #C9DE46 #46DEA7
square
#5B46DE #DE467D #C9DE46 #46DEA7
split-complementary
#5B46DE #DEA746 #7DDE46
monochromatic
#2A1A90 #3923C4 #5B46DE #897AE7 #B7AEF1

Accessibility & contrast

On white

6.22
#5B46DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5B46DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B46DE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B46DE#FFFFFF#000000##FFFFFF
##5B46DE1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E3
Deuteranopia (green-blind)
#005BDB
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5b46de;
/* rgb */ color: rgb(91, 70, 222);
/* oklch */ color: oklch(51.3% 0.219 281.7);
Tailwind
colors: {
  custom: {
    50: '#977be9',
    500: '#5b46de',
    950: '#000000',
  },
}
SCSS
$custom: #5b46de;
$custom-light: #977be9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b46de",
  "rgb": {
    "r": 91,
    "g": 70,
    "b": 222
  },
  "hsl": {
    "h": 248.289,
    "s": 69.725,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51305,
    "c": 0.2194,
    "h": 281.7
  },
  "luminance": 0.11878
}

Semantic roles & 50–950 ramp

primary
#5B46DE
secondary
#D6DFA1
accent
#ED3BD4
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5B46DE

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

Preview Lab → · Contrast checker → · Palette generator →

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