#5C4FEC#5C4FEC

#5C4FEC is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.9% C 0.226 H 279.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5C4FEC
RGBrgb(92, 79, 236)
HSLhsl(245, 81%, 62%)
HSVhsv(245, 67%, 93%)
CMYKcmyk(61%, 66.5%, 0%, 7.5%)
CIE-LABlab(44.12, 49.45, -77.45)
CIE-LCHlch(44.12, 91.89, 302.56°)
OKLaboklab(53.92% 0.0367 -0.2232)
OKLCHoklch(53.92% 0.226 279.3)
XYZxyz(22.3451, 13.9217, 80.8503)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FEC #DFEC4F
analogous
#4F91EC #5C4FEC #AB4FEC
triadic
#5C4FEC #EC5C4F #4FEC5C
tetradic
#5C4FEC #EC4F91 #DFEC4F #4FECAB
square
#5C4FEC #EC4F91 #DFEC4F #4FECAB
split-complementary
#5C4FEC #ECAB4F #91EC4F
monochromatic
#2013AE #2A19E5 #5C4FEC #8F86F2 #C2BDF8

Accessibility & contrast

On white

5.55
#5C4FEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5C4FEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FEC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FEC#FFFFFF#000000##FFFFFF
##5C4FEC1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF1
Deuteranopia (green-blind)
#0062E9
Tritanopia (blue-blind)
#007897
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5c4fec;
/* rgb */ color: rgb(92, 79, 236);
/* oklch */ color: oklch(53.9% 0.226 279.3);
Tailwind
colors: {
  custom: {
    50: '#9982f3',
    500: '#5c4fec',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fec;
$custom-light: #9982f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fec",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 244.968,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.53919,
    "c": 0.22622,
    "h": 279.3
  },
  "luminance": 0.13923
}

Semantic roles & 50–950 ramp

primary
#5C4FEC
secondary
#E4E8AE
accent
#DD09CB
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C4FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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