#5A46D2#5A46D2

#5A46D2 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.2% C 0.205 H 282.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5A46D2
RGBrgb(90, 70, 210)
HSLhsl(249, 61%, 55%)
HSVhsv(249, 67%, 82%)
CMYKcmyk(57.1%, 66.7%, 0%, 17.6%)
CIE-LABlab(39.93, 46.27, -69.50)
CIE-LCHlch(39.93, 83.49, 303.65°)
OKLaboklab(50.19% 0.0448 -0.2)
OKLCHoklch(50.19% 0.205 282.6)
XYZxyz(18.0359, 11.2060, 62.1728)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A46D2 #BED246
analogous
#4678D2 #5A46D2 #A046D2
triadic
#5A46D2 #D25A46 #46D25A
tetradic
#5A46D2 #D24678 #BED246 #46D2A0
square
#5A46D2 #D24678 #BED246 #46D2A0
split-complementary
#5A46D2 #D2A046 #78D246
monochromatic
#2D1F7F #3E2BB0 #5A46D2 #8677DE #B2A8EA

Accessibility & contrast

On white

6.48
#5A46D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5A46D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A46D2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A46D2#FFFFFF#000000##FFFFFF
##5A46D21.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#176A86
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5a46d2;
/* rgb */ color: rgb(90, 70, 210);
/* oklch */ color: oklch(50.2% 0.205 282.6);
Tailwind
colors: {
  custom: {
    50: '#947be1',
    500: '#5a46d2',
    950: '#000000',
  },
}
SCSS
$custom: #5a46d2;
$custom-light: #947be1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a46d2",
  "rgb": {
    "r": 90,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 248.571,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50185,
    "c": 0.20493,
    "h": 282.6
  },
  "luminance": 0.11207
}

Semantic roles & 50–950 ramp

primary
#5A46D2
secondary
#CFD79C
accent
#E444CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5A46D2

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

Preview Lab → · Contrast checker → · Palette generator →

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