#5C4CDB#5C4CDB

#5C4CDB is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.0% C 0.209 H 281.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5C4CDB
RGBrgb(92, 76, 219)
HSLhsl(247, 67%, 58%)
HSVhsv(247, 65%, 86%)
CMYKcmyk(58%, 65.3%, 0%, 14.1%)
CIE-LABlab(42.09, 45.92, -71.12)
CIE-LCHlch(42.09, 84.66, 302.85°)
OKLaboklab(52.02% 0.0412 -0.2047)
OKLCHoklch(52.02% 0.209 281.4)
XYZxyz(19.7803, 12.5573, 68.3856)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4CDB #CBDB4C
analogous
#4C84DB #5C4CDB #A34CDB
triadic
#5C4CDB #DB5C4C #4CDB5C
tetradic
#5C4CDB #DB4C84 #CBDB4C #4CDBA3
square
#5C4CDB #DB4C84 #CBDB4C #4CDBA3
split-complementary
#5C4CDB #DBA34C #84DB4C
monochromatic
#2A1D90 #3927C3 #5C4CDB #8A7FE5 #B9B2EF

Accessibility & contrast

On white

5.98
#5C4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5C4CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4CDB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4CDB#FFFFFF#000000##FFFFFF
##5C4CDB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#07708D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c4cdb;
/* rgb */ color: rgb(92, 76, 219);
/* oklch */ color: oklch(52.0% 0.209 281.4);
Tailwind
colors: {
  custom: {
    50: '#967fe7',
    500: '#5c4cdb',
    950: '#000000',
  },
}
SCSS
$custom: #5c4cdb;
$custom-light: #967fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4cdb",
  "rgb": {
    "r": 92,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 246.713,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52017,
    "c": 0.20878,
    "h": 281.4
  },
  "luminance": 0.12559
}

Semantic roles & 50–950 ramp

primary
#5C4CDB
secondary
#D8DEA5
accent
#E93ED6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5C4CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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