#5B47DA#5B47DA

#5B47DA is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.1% C 0.213 H 281.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5B47DA
RGBrgb(91, 71, 218)
HSLhsl(248, 67%, 57%)
HSVhsv(248, 67%, 85%)
CMYKcmyk(58.3%, 67.4%, 0%, 14.5%)
CIE-LABlab(40.88, 48.29, -72.53)
CIE-LCHlch(40.88, 87.13, 303.65°)
OKLaboklab(51.1% 0.0441 -0.2088)
OKLCHoklch(51.1% 0.213 281.9)
XYZxyz(19.2186, 11.7913, 67.5793)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B47DA #C6DA47
analogous
#477DDA #5B47DA #A547DA
triadic
#5B47DA #DA5B47 #47DA5B
tetradic
#5B47DA #DA477D #C6DA47 #47DAA5
square
#5B47DA #DA477D #C6DA47 #47DAA5
split-complementary
#5B47DA #DAA547 #7DDA47
monochromatic
#2B1C8B #3B26BE #5B47DA #887AE4 #B6ADEE

Accessibility & contrast

On white

6.25
#5B47DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5B47DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B47DA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B47DA#FFFFFF#000000##FFFFFF
##5B47DA1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DE
Deuteranopia (green-blind)
#005BD7
Tritanopia (blue-blind)
#046D8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b47da;
/* rgb */ color: rgb(91, 71, 218);
/* oklch */ color: oklch(51.1% 0.213 281.9);
Tailwind
colors: {
  custom: {
    50: '#967ce7',
    500: '#5b47da',
    950: '#000000',
  },
}
SCSS
$custom: #5b47da;
$custom-light: #967ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b47da",
  "rgb": {
    "r": 91,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 248.163,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51101,
    "c": 0.21344,
    "h": 281.9
  },
  "luminance": 0.11793
}

Semantic roles & 50–950 ramp

primary
#5B47DA
secondary
#D4DCA0
accent
#E93ED2
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5B47DA

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

Preview Lab → · Contrast checker → · Palette generator →

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