#5C4FDA#5C4FDA

#5C4FDA is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.4% C 0.204 H 280.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5C4FDA
RGBrgb(92, 79, 218)
HSLhsl(246, 65%, 58%)
HSVhsv(246, 64%, 85%)
CMYKcmyk(57.8%, 63.8%, 0%, 14.5%)
CIE-LABlab(42.65, 43.88, -69.63)
CIE-LCHlch(42.65, 82.30, 302.22°)
OKLaboklab(52.4% 0.0387 -0.2003)
OKLCHoklch(52.4% 0.204 280.9)
XYZxyz(19.8605, 12.9279, 67.7648)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FDA #CDDA4F
analogous
#4F87DA #5C4FDA #A24FDA
triadic
#5C4FDA #DA5C4F #4FDA5C
tetradic
#5C4FDA #DA4F87 #CDDA4F #4FDAA2
square
#5C4FDA #DA4F87 #CDDA4F #4FDAA2
split-complementary
#5C4FDA #DAA24F #87DA4F
monochromatic
#291E90 #3729C3 #5C4FDA #8B82E5 #BAB4EF

Accessibility & contrast

On white

5.86
#5C4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5C4FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FDA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FDA#FFFFFF#000000##FFFFFF
##5C4FDA1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#0060D7
Tritanopia (blue-blind)
#0A728D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5c4fda;
/* rgb */ color: rgb(92, 79, 218);
/* oklch */ color: oklch(52.4% 0.204 280.9);
Tailwind
colors: {
  custom: {
    50: '#9681e6',
    500: '#5c4fda',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fda;
$custom-light: #9681e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fda",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 245.612,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52403,
    "c": 0.20398,
    "h": 280.9
  },
  "luminance": 0.12929
}

Semantic roles & 50–950 ramp

primary
#5C4FDA
secondary
#D9DEA7
accent
#E840D8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5C4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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