#5B46DA#5B46DA

#5B46DA is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.0% C 0.215 H 282.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5B46DA
RGBrgb(91, 70, 218)
HSLhsl(249, 67%, 56%)
HSVhsv(249, 68%, 85%)
CMYKcmyk(58.3%, 67.9%, 0%, 14.5%)
CIE-LABlab(40.68, 48.84, -72.86)
CIE-LCHlch(40.68, 87.72, 303.84°)
OKLaboklab(50.96% 0.0449 -0.2098)
OKLCHoklch(50.96% 0.215 282.1)
XYZxyz(19.1555, 11.6651, 67.5583)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B46DA #C5DA46
analogous
#467BDA #5B46DA #A546DA
triadic
#5B46DA #DA5B46 #46DA5B
tetradic
#5B46DA #DA467B #C5DA46 #46DAA5
square
#5B46DA #DA467B #C5DA46 #46DAA5
split-complementary
#5B46DA #DAA546 #7BDA46
monochromatic
#2B1C8A #3B26BD #5B46DA #8879E4 #B5ACEE

Accessibility & contrast

On white

6.30
#5B46DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5B46DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B46DA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B46DA#FFFFFF#000000##FFFFFF
##5B46DA1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b46da;
/* rgb */ color: rgb(91, 70, 218);
/* oklch */ color: oklch(51.0% 0.215 282.1);
Tailwind
colors: {
  custom: {
    50: '#967be7',
    500: '#5b46da',
    950: '#000000',
  },
}
SCSS
$custom: #5b46da;
$custom-light: #967be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b46da",
  "rgb": {
    "r": 91,
    "g": 70,
    "b": 218
  },
  "hsl": {
    "h": 248.514,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50955,
    "c": 0.21456,
    "h": 282.1
  },
  "luminance": 0.11666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B46DA

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

Preview Lab → · Contrast checker → · Palette generator →

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