#5C46D9#5C46D9

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

Color values

HEX#5C46D9
RGBrgb(92, 70, 217)
HSLhsl(249, 66%, 56%)
HSVhsv(249, 68%, 85%)
CMYKcmyk(57.6%, 67.7%, 0%, 14.9%)
CIE-LABlab(40.68, 48.69, -72.29)
CIE-LCHlch(40.68, 87.16, 303.96°)
OKLaboklab(50.95% 0.0464 -0.2081)
OKLCHoklch(50.95% 0.213 282.6)
XYZxyz(19.1243, 11.6641, 66.8758)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C46D9 #C3D946
analogous
#467AD9 #5C46D9 #A646D9
triadic
#5C46D9 #D95C46 #46D95C
tetradic
#5C46D9 #D9467A #C3D946 #46D9A6
square
#5C46D9 #D9467A #C3D946 #46D9A6
split-complementary
#5C46D9 #D9A646 #7AD946
monochromatic
#2C1C89 #3D26BB #5C46D9 #8979E3 #B5ACEE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C46D9#FFFFFF#000000##FFFFFF
##5C46D91.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)
#0065DD
Deuteranopia (green-blind)
#005BD6
Tritanopia (blue-blind)
#116C8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5c46d9;
/* rgb */ color: rgb(92, 70, 217);
/* oklch */ color: oklch(50.9% 0.213 282.6);
Tailwind
colors: {
  custom: {
    50: '#977be6',
    500: '#5c46d9',
    950: '#000000',
  },
}
SCSS
$custom: #5c46d9;
$custom-light: #977be6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c46d9",
  "rgb": {
    "r": 92,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 248.98,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50948,
    "c": 0.2132,
    "h": 282.6
  },
  "luminance": 0.11665
}

Semantic roles & 50–950 ramp

primary
#5C46D9
secondary
#D3DC9F
accent
#E93FCF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5C46D9

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

Preview Lab → · Contrast checker → · Palette generator →

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