#5C4FE2#5C4FE2

#5C4FE2 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.1% C 0.214 H 280.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5C4FE2
RGBrgb(92, 79, 226)
HSLhsl(245, 72%, 60%)
HSVhsv(245, 65%, 89%)
CMYKcmyk(59.3%, 65%, 0%, 11.4%)
CIE-LABlab(43.30, 46.36, -73.14)
CIE-LCHlch(43.30, 86.60, 302.37°)
OKLaboklab(53.07% 0.0379 -0.2106)
OKLCHoklch(53.07% 0.214 280.2)
XYZxyz(20.9327, 13.3568, 73.4118)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FE2 #D5E24F
analogous
#4F8CE2 #5C4FE2 #A54FE2
triadic
#5C4FE2 #E25C4F #4FE25C
tetradic
#5C4FE2 #E24F8C #D5E24F #4FE2A5
square
#5C4FE2 #E24F8C #D5E24F #4FE2A5
split-complementary
#5C4FE2 #E2A54F #8CE24F
monochromatic
#251A9D #3222D1 #5C4FE2 #8D84EB #BDB8F3

Accessibility & contrast

On white

5.72
#5C4FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5C4FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FE2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FE2#FFFFFF#000000##FFFFFF
##5C4FE21.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#007592
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5c4fe2;
/* rgb */ color: rgb(92, 79, 226);
/* oklch */ color: oklch(53.1% 0.214 280.2);
Tailwind
colors: {
  custom: {
    50: '#9781ec',
    500: '#5c4fe2',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fe2;
$custom-light: #9781ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fe2",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 245.306,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53068,
    "c": 0.21396,
    "h": 280.2
  },
  "luminance": 0.13358
}

Semantic roles & 50–950 ramp

primary
#5C4FE2
secondary
#DEE3AA
accent
#EE39DE
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5C4FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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