#5C46CD#5C46CD

#5C46CD is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.9% C 0.198 H 284.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5C46CD
RGBrgb(92, 70, 205)
HSLhsl(250, 57%, 54%)
HSVhsv(250, 66%, 80%)
CMYKcmyk(55.1%, 65.9%, 0%, 19.6%)
CIE-LABlab(39.69, 45.07, -67.00)
CIE-LCHlch(39.69, 80.75, 303.93°)
OKLaboklab(49.93% 0.0481 -0.1926)
OKLCHoklch(49.93% 0.198 284)
XYZxyz(17.6199, 11.0624, 58.9526)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C46CD #B7CD46
analogous
#4674CD #5C46CD #A046CD
triadic
#5C46CD #CD5C46 #46CD5C
tetradic
#5C46CD #CD4674 #B7CD46 #46CDA0
square
#5C46CD #CD4674 #B7CD46 #46CDA0
split-complementary
#5C46CD #CDA046 #74CD46
monochromatic
#2F2078 #422DA8 #5C46CD #8676DA #B1A6E7

Accessibility & contrast

On white

6.54
#5C46CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5C46CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C46CD
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C46CD#FFFFFF#000000##FFFFFF
##5C46CD1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#276883
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5c46cd;
/* rgb */ color: rgb(92, 70, 205);
/* oklch */ color: oklch(49.9% 0.198 284.0);
Tailwind
colors: {
  custom: {
    50: '#957bdd',
    500: '#5c46cd',
    950: '#000000',
  },
}
SCSS
$custom: #5c46cd;
$custom-light: #957bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c46cd",
  "rgb": {
    "r": 92,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 249.778,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49927,
    "c": 0.19849,
    "h": 284
  },
  "luminance": 0.11063
}

Semantic roles & 50–950 ramp

primary
#5C46CD
secondary
#CBD49B
accent
#E147C8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C46CD

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

Preview Lab → · Contrast checker → · Palette generator →

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