#5C4FE5#5C4FE5

#5C4FE5 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.3% C 0.218 H 279.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5C4FE5
RGBrgb(92, 79, 229)
HSLhsl(245, 74%, 60%)
HSVhsv(245, 66%, 90%)
CMYKcmyk(59.8%, 65.5%, 0%, 10.2%)
CIE-LABlab(43.54, 47.29, -74.44)
CIE-LCHlch(43.54, 88.19, 302.43°)
OKLaboklab(53.32% 0.0375 -0.2144)
OKLCHoklch(53.32% 0.218 279.9)
XYZxyz(21.3480, 13.5229, 75.5988)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FE5 #D8E54F
analogous
#4F8DE5 #5C4FE5 #A74FE5
triadic
#5C4FE5 #E55C4F #4FE55C
tetradic
#5C4FE5 #E54F8D #D8E54F #4FE5A7
square
#5C4FE5 #E54F8D #D8E54F #4FE5A7
split-complementary
#5C4FE5 #E5A74F #8DE54F
monochromatic
#2418A2 #3020D7 #5C4FE5 #8D84ED #BFBAF5

Accessibility & contrast

On white

5.67
#5C4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5C4FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FE5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FE5#FFFFFF#000000##FFFFFF
##5C4FE51.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0061E2
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5c4fe5;
/* rgb */ color: rgb(92, 79, 229);
/* oklch */ color: oklch(53.3% 0.218 279.9);
Tailwind
colors: {
  custom: {
    50: '#9881ee',
    500: '#5c4fe5',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fe5;
$custom-light: #9881ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fe5",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 245.2,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53321,
    "c": 0.21767,
    "h": 279.9
  },
  "luminance": 0.13524
}

Semantic roles & 50–950 ramp

primary
#5C4FE5
secondary
#E0E5AB
accent
#D60FC5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C4FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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