#5C46D7#5C46D7

#5C46D7 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.8% C 0.211 H 282.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5C46D7
RGBrgb(92, 70, 215)
HSLhsl(249, 64%, 56%)
HSVhsv(249, 67%, 84%)
CMYKcmyk(57.2%, 67.4%, 0%, 15.7%)
CIE-LABlab(40.51, 48.09, -71.42)
CIE-LCHlch(40.51, 86.10, 303.96°)
OKLaboklab(50.78% 0.0467 -0.2055)
OKLCHoklch(50.78% 0.211 282.8)
XYZxyz(18.8657, 11.5607, 65.5141)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C46D7 #C1D746
analogous
#4679D7 #5C46D7 #A446D7
triadic
#5C46D7 #D75C46 #46D75C
tetradic
#5C46D7 #D74679 #C1D746 #46D7A4
square
#5C46D7 #D74679 #C1D746 #46D7A4
split-complementary
#5C46D7 #D7A446 #79D746
monochromatic
#2D1D86 #3E28B8 #5C46D7 #8878E2 #B5ABED

Accessibility & contrast

On white

6.34
#5C46D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5C46D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C46D7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C46D7#FFFFFF#000000##FFFFFF
##5C46D71.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DB
Deuteranopia (green-blind)
#005AD4
Tritanopia (blue-blind)
#166C89
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5c46d7;
/* rgb */ color: rgb(92, 70, 215);
/* oklch */ color: oklch(50.8% 0.211 282.8);
Tailwind
colors: {
  custom: {
    50: '#967be4',
    500: '#5c46d7',
    950: '#000000',
  },
}
SCSS
$custom: #5c46d7;
$custom-light: #967be4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c46d7",
  "rgb": {
    "r": 92,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 249.103,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50776,
    "c": 0.21078,
    "h": 282.8
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#5C46D7
secondary
#D1DA9E
accent
#E740CE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5C46D7

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

Preview Lab → · Contrast checker → · Palette generator →

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