#5C46D2#5C46D2

#5C46D2 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.3% C 0.205 H 283.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5C46D2
RGBrgb(92, 70, 210)
HSLhsl(249, 61%, 55%)
HSVhsv(249, 67%, 82%)
CMYKcmyk(56.2%, 66.7%, 0%, 17.6%)
CIE-LABlab(40.09, 46.58, -69.22)
CIE-LCHlch(40.09, 83.43, 303.94°)
OKLaboklab(50.35% 0.0474 -0.1991)
OKLCHoklch(50.35% 0.205 283.4)
XYZxyz(18.2331, 11.3076, 62.1821)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C46D2 #BCD246
analogous
#4676D2 #5C46D2 #A246D2
triadic
#5C46D2 #D25C46 #46D25C
tetradic
#5C46D2 #D24676 #BCD246 #46D2A2
square
#5C46D2 #D24676 #BCD246 #46D2A2
split-complementary
#5C46D2 #D2A246 #76D246
monochromatic
#2E1F7F #402BB0 #5C46D2 #8777DE #B3A8EA

Accessibility & contrast

On white

6.44
#5C46D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5C46D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C46D2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C46D2#FFFFFF#000000##FFFFFF
##5C46D21.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#206A86
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5c46d2;
/* rgb */ color: rgb(92, 70, 210);
/* oklch */ color: oklch(50.3% 0.205 283.4);
Tailwind
colors: {
  custom: {
    50: '#957be1',
    500: '#5c46d2',
    950: '#000000',
  },
}
SCSS
$custom: #5c46d2;
$custom-light: #957be1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c46d2",
  "rgb": {
    "r": 92,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 249.429,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50349,
    "c": 0.20466,
    "h": 283.4
  },
  "luminance": 0.11309
}

Semantic roles & 50–950 ramp

primary
#5C46D2
secondary
#CED79C
accent
#E444CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C46D2

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

Preview Lab → · Contrast checker → · Palette generator →

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