#5C46E1#5C46E1

#5C46E1 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.6% C 0.223 H 281.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5C46E1
RGBrgb(92, 70, 225)
HSLhsl(249, 72%, 58%)
HSVhsv(249, 69%, 88%)
CMYKcmyk(59.1%, 68.9%, 0%, 11.8%)
CIE-LABlab(41.36, 51.10, -75.74)
CIE-LCHlch(41.36, 91.36, 304.00°)
OKLaboklab(51.65% 0.0452 -0.2182)
OKLCHoklch(51.65% 0.223 281.7)
XYZxyz(20.1902, 12.0905, 72.4893)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C46E1 #CBE146
analogous
#467DE1 #5C46E1 #A946E1
triadic
#5C46E1 #E15C46 #46E15C
tetradic
#5C46E1 #E1467D #CBE146 #46E1A9
square
#5C46E1 #E1467D #CBE146 #46E1A9
split-complementary
#5C46E1 #E1A946 #7DE146
monochromatic
#2A1895 #3921C9 #5C46E1 #8A7BEA #B9AFF2

Accessibility & contrast

On white

6.14
#5C46E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5C46E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C46E1
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C46E1#FFFFFF#000000##FFFFFF
##5C46E11.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005CDE
Tritanopia (blue-blind)
#006F8E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5c46e1;
/* rgb */ color: rgb(92, 70, 225);
/* oklch */ color: oklch(51.6% 0.223 281.7);
Tailwind
colors: {
  custom: {
    50: '#987bec',
    500: '#5c46e1',
    950: '#000000',
  },
}
SCSS
$custom: #5c46e1;
$custom-light: #987bec;
$custom-dark: #000000;
JSON
{
  "hex": "#5c46e1",
  "rgb": {
    "r": 92,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 248.516,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51647,
    "c": 0.22283,
    "h": 281.7
  },
  "luminance": 0.12092
}

Semantic roles & 50–950 ramp

primary
#5C46E1
secondary
#D8E0A2
accent
#EF39D5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5C46E1

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

Preview Lab → · Contrast checker → · Palette generator →

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