#5A46DA#5A46DA

#5A46DA is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.9% C 0.215 H 281.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5A46DA
RGBrgb(90, 70, 218)
HSLhsl(248, 67%, 56%)
HSVhsv(248, 68%, 85%)
CMYKcmyk(58.7%, 67.9%, 0%, 14.5%)
CIE-LABlab(40.60, 48.70, -73.00)
CIE-LCHlch(40.60, 87.75, 303.71°)
OKLaboklab(50.88% 0.0436 -0.2102)
OKLCHoklch(50.88% 0.215 281.7)
XYZxyz(19.0575, 11.6146, 67.5537)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A46DA #C6DA46
analogous
#467CDA #5A46DA #A446DA
triadic
#5A46DA #DA5A46 #46DA5A
tetradic
#5A46DA #DA467C #C6DA46 #46DAA4
square
#5A46DA #DA467C #C6DA46 #46DAA4
split-complementary
#5A46DA #DAA446 #7CDA46
monochromatic
#2B1C8A #3A26BD #5A46DA #8779E4 #B5ACEE

Accessibility & contrast

On white

6.32
#5A46DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5A46DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A46DA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A46DA#FFFFFF#000000##FFFFFF
##5A46DA1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a46da;
/* rgb */ color: rgb(90, 70, 218);
/* oklch */ color: oklch(50.9% 0.215 281.7);
Tailwind
colors: {
  custom: {
    50: '#967be7',
    500: '#5a46da',
    950: '#000000',
  },
}
SCSS
$custom: #5a46da;
$custom-light: #967be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a46da",
  "rgb": {
    "r": 90,
    "g": 70,
    "b": 218
  },
  "hsl": {
    "h": 248.108,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50876,
    "c": 0.21472,
    "h": 281.7
  },
  "luminance": 0.11616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A46DA

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

Preview Lab → · Contrast checker → · Palette generator →

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