#5A46DB#5A46DB

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

Color values

HEX#5A46DB
RGBrgb(90, 70, 219)
HSLhsl(248, 67%, 57%)
HSVhsv(248, 68%, 86%)
CMYKcmyk(58.9%, 68%, 0%, 14.1%)
CIE-LABlab(40.68, 49.00, -73.43)
CIE-LCHlch(40.68, 88.28, 303.71°)
OKLaboklab(50.96% 0.0435 -0.2115)
OKLCHoklch(50.96% 0.216 281.6)
XYZxyz(19.1888, 11.6671, 68.2449)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A46DB #C7DB46
analogous
#467DDB #5A46DB #A546DB
triadic
#5A46DB #DB5A46 #46DB5A
tetradic
#5A46DB #DB467D #C7DB46 #46DBA5
square
#5A46DB #DB467D #C7DB46 #46DBA5
split-complementary
#5A46DB #DBA546 #7DDB46
monochromatic
#2A1B8B #3A25BF #5A46DB #8879E5 #B5ACEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A46DB#FFFFFF#000000##FFFFFF
##5A46DB1.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)
#0065E0
Deuteranopia (green-blind)
#005AD8
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5a46db;
/* rgb */ color: rgb(90, 70, 219);
/* oklch */ color: oklch(51.0% 0.216 281.6);
Tailwind
colors: {
  custom: {
    50: '#967be7',
    500: '#5a46db',
    950: '#000000',
  },
}
SCSS
$custom: #5a46db;
$custom-light: #967be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a46db",
  "rgb": {
    "r": 90,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 248.054,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50963,
    "c": 0.21593,
    "h": 281.6
  },
  "luminance": 0.11668
}

Semantic roles & 50–950 ramp

primary
#5A46DB
secondary
#D5DDA0
accent
#EA3DD3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5A46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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