#5B41DE#5B41DE

#5B41DE is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.6% C 0.225 H 282.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#5B41DE
RGBrgb(91, 65, 222)
HSLhsl(250, 70%, 56%)
HSVhsv(250, 71%, 87%)
CMYKcmyk(59%, 70.7%, 0%, 12.9%)
CIE-LABlab(40.04, 52.75, -76.19)
CIE-LCHlch(40.04, 92.67, 304.70°)
OKLaboklab(50.61% 0.0481 -0.2195)
OKLCHoklch(50.61% 0.225 282.4)
XYZxyz(19.3854, 11.2774, 70.2483)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B41DE #C4DE41
analogous
#4176DE #5B41DE #AA41DE
triadic
#5B41DE #DE5B41 #41DE5B
tetradic
#5B41DE #DE4176 #C4DE41 #41DEAA
square
#5B41DE #DE4176 #C4DE41 #41DEAA
split-complementary
#5B41DE #DEAA41 #76DE41
monochromatic
#2C188C #3C21C0 #5B41DE #8875E7 #B5A9F0

Accessibility & contrast

On white

6.45
#5B41DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5B41DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B41DE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B41DE#FFFFFF#000000##FFFFFF
##5B41DE1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E3
Deuteranopia (green-blind)
#0059DB
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5b41de;
/* rgb */ color: rgb(91, 65, 222);
/* oklch */ color: oklch(50.6% 0.225 282.4);
Tailwind
colors: {
  custom: {
    50: '#9778ea',
    500: '#5b41de',
    950: '#000000',
  },
}
SCSS
$custom: #5b41de;
$custom-light: #9778ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b41de",
  "rgb": {
    "r": 91,
    "g": 65,
    "b": 222
  },
  "hsl": {
    "h": 249.936,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50607,
    "c": 0.22476,
    "h": 282.4
  },
  "luminance": 0.11279
}

Semantic roles & 50–950 ramp

primary
#5B41DE
secondary
#D3DE9D
accent
#ED3BD0
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5B41DE

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

Preview Lab → · Contrast checker → · Palette generator →

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