#5C4FDD#5C4FDD

#5C4FDD is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.7% C 0.208 H 280.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5C4FDD
RGBrgb(92, 79, 221)
HSLhsl(245, 68%, 59%)
HSVhsv(245, 64%, 87%)
CMYKcmyk(58.4%, 64.3%, 0%, 13.3%)
CIE-LABlab(42.89, 44.81, -70.95)
CIE-LCHlch(42.89, 83.92, 302.28°)
OKLaboklab(52.65% 0.0384 -0.2042)
OKLCHoklch(52.65% 0.208 280.6)
XYZxyz(20.2567, 13.0863, 69.8511)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FDD #D0DD4F
analogous
#4F89DD #5C4FDD #A34FDD
triadic
#5C4FDD #DD5C4F #4FDD5C
tetradic
#5C4FDD #DD4F89 #D0DD4F #4FDDA3
square
#5C4FDD #DD4F89 #D0DD4F #4FDDA3
split-complementary
#5C4FDD #DDA34F #89DD4F
monochromatic
#281D95 #3527C8 #5C4FDD #8C82E7 #BBB6F1

Accessibility & contrast

On white

5.80
#5C4FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5C4FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FDD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FDD#FFFFFF#000000##FFFFFF
##5C4FDD1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#0060DA
Tritanopia (blue-blind)
#00738F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5c4fdd;
/* rgb */ color: rgb(92, 79, 221);
/* oklch */ color: oklch(52.7% 0.208 280.6);
Tailwind
colors: {
  custom: {
    50: '#9781e9',
    500: '#5c4fdd',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fdd;
$custom-light: #9781e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fdd",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 245.493,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52651,
    "c": 0.20774,
    "h": 280.6
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#5C4FDD
secondary
#DBE0A8
accent
#EA3DDB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5C4FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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