#5C46DC#5C46DC

#5C46DC is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.2% C 0.217 H 282.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5C46DC
RGBrgb(92, 70, 220)
HSLhsl(249, 68%, 57%)
HSVhsv(249, 68%, 86%)
CMYKcmyk(58.2%, 68.2%, 0%, 13.7%)
CIE-LABlab(40.93, 49.59, -73.59)
CIE-LCHlch(40.93, 88.74, 303.98°)
OKLaboklab(51.21% 0.046 -0.2119)
OKLCHoklch(51.21% 0.217 282.2)
XYZxyz(19.5180, 11.8216, 68.9496)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C46DC #C6DC46
analogous
#467BDC #5C46DC #A746DC
triadic
#5C46DC #DC5C46 #46DC5C
tetradic
#5C46DC #DC467B #C6DC46 #46DCA7
square
#5C46DC #DC467B #C6DC46 #46DCA7
split-complementary
#5C46DC #DCA746 #7BDC46
monochromatic
#2B1B8D #3B24C0 #5C46DC #8979E6 #B7ADEF

Accessibility & contrast

On white

6.24
#5C46DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5C46DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C46DC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C46DC#FFFFFF#000000##FFFFFF
##5C46DC1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#005BD9
Tritanopia (blue-blind)
#066D8C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5c46dc;
/* rgb */ color: rgb(92, 70, 220);
/* oklch */ color: oklch(51.2% 0.217 282.2);
Tailwind
colors: {
  custom: {
    50: '#977be8',
    500: '#5c46dc',
    950: '#000000',
  },
}
SCSS
$custom: #5c46dc;
$custom-light: #977be8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c46dc",
  "rgb": {
    "r": 92,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 248.8,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51209,
    "c": 0.21684,
    "h": 282.2
  },
  "luminance": 0.11823
}

Semantic roles & 50–950 ramp

primary
#5C46DC
secondary
#D5DDA0
accent
#EB3DD1
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5C46DC

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

Preview Lab → · Contrast checker → · Palette generator →

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