#5C46DB#5C46DB

#5C46DB is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.1% C 0.216 H 282.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5C46DB
RGBrgb(92, 70, 219)
HSLhsl(249, 67%, 57%)
HSVhsv(249, 68%, 86%)
CMYKcmyk(58%, 68%, 0%, 14.1%)
CIE-LABlab(40.85, 49.29, -73.16)
CIE-LCHlch(40.85, 88.21, 303.97°)
OKLaboklab(51.12% 0.0461 -0.2106)
OKLCHoklch(51.12% 0.216 282.4)
XYZxyz(19.3860, 11.7688, 68.2542)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C46DB #C5DB46
analogous
#467BDB #5C46DB #A746DB
triadic
#5C46DB #DB5C46 #46DB5C
tetradic
#5C46DB #DB467B #C5DB46 #46DBA7
square
#5C46DB #DB467B #C5DB46 #46DBA7
split-complementary
#5C46DB #DBA746 #7BDB46
monochromatic
#2C1B8B #3C25BF #5C46DB #8979E5 #B6ACEF

Accessibility & contrast

On white

6.26
#5C46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5C46DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C46DB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C46DB#FFFFFF#000000##FFFFFF
##5C46DB1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#005BD8
Tritanopia (blue-blind)
#0A6D8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5c46db;
/* rgb */ color: rgb(92, 70, 219);
/* oklch */ color: oklch(51.1% 0.216 282.4);
Tailwind
colors: {
  custom: {
    50: '#977be7',
    500: '#5c46db',
    950: '#000000',
  },
}
SCSS
$custom: #5c46db;
$custom-light: #977be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c46db",
  "rgb": {
    "r": 92,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 248.859,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51122,
    "c": 0.21563,
    "h": 282.4
  },
  "luminance": 0.1177
}

Semantic roles & 50–950 ramp

primary
#5C46DB
secondary
#D4DDA0
accent
#EA3DD1
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5C46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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