#5C46CE#5C46CE

#5C46CE is a mid, vivid blue. Relative luminance 0.111; OKLCH L 50.0% C 0.200 H 283.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5C46CE
RGBrgb(92, 70, 206)
HSLhsl(250, 58%, 54%)
HSVhsv(250, 66%, 81%)
CMYKcmyk(55.3%, 66%, 0%, 19.2%)
CIE-LABlab(39.77, 45.38, -67.45)
CIE-LCHlch(39.77, 81.29, 303.93°)
OKLaboklab(50.01% 0.048 -0.1939)
OKLCHoklch(50.01% 0.2 283.9)
XYZxyz(17.7410, 11.1108, 59.5903)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C46CE #B8CE46
analogous
#4674CE #5C46CE #A046CE
triadic
#5C46CE #CE5C46 #46CE5C
tetradic
#5C46CE #CE4674 #B8CE46 #46CEA0
square
#5C46CE #CE4674 #B8CE46 #46CEA0
split-complementary
#5C46CE #CEA046 #74CE46
monochromatic
#2F2079 #412DAA #5C46CE #8776DB #B1A7E8

Accessibility & contrast

On white

6.52
#5C46CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5C46CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C46CE
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C46CE#FFFFFF#000000##FFFFFF
##5C46CE1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#0059CB
Tritanopia (blue-blind)
#266884
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5c46ce;
/* rgb */ color: rgb(92, 70, 206);
/* oklch */ color: oklch(50.0% 0.200 283.9);
Tailwind
colors: {
  custom: {
    50: '#957bde',
    500: '#5c46ce',
    950: '#000000',
  },
}
SCSS
$custom: #5c46ce;
$custom-light: #957bde;
$custom-dark: #000000;
JSON
{
  "hex": "#5c46ce",
  "rgb": {
    "r": 92,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 249.706,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50011,
    "c": 0.19973,
    "h": 283.9
  },
  "luminance": 0.11112
}

Semantic roles & 50–950 ramp

primary
#5C46CE
secondary
#CBD59B
accent
#E146C8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C46CE

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

Preview Lab → · Contrast checker → · Palette generator →

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