#5C4FEB#5C4FEB

#5C4FEB is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.8% C 0.225 H 279.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5C4FEB
RGBrgb(92, 79, 235)
HSLhsl(245, 80%, 62%)
HSVhsv(245, 66%, 92%)
CMYKcmyk(60.9%, 66.4%, 0%, 7.8%)
CIE-LABlab(44.04, 49.14, -77.02)
CIE-LCHlch(44.04, 91.37, 302.54°)
OKLaboklab(53.83% 0.0368 -0.222)
OKLCHoklch(53.83% 0.225 279.4)
XYZxyz(22.2002, 13.8638, 80.0873)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FEB #DEEB4F
analogous
#4F90EB #5C4FEB #AA4FEB
triadic
#5C4FEB #EB5C4F #4FEB5C
tetradic
#5C4FEB #EB4F90 #DEEB4F #4FEBAA
square
#5C4FEB #EB4F90 #DEEB4F #4FEBAA
split-complementary
#5C4FEB #EBAA4F #90EB4F
monochromatic
#2014AC #2B1AE3 #5C4FEB #8F86F1 #C2BDF7

Accessibility & contrast

On white

5.57
#5C4FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5C4FEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FEB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FEB#FFFFFF#000000##FFFFFF
##5C4FEB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF0
Deuteranopia (green-blind)
#0062E8
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5c4feb;
/* rgb */ color: rgb(92, 79, 235);
/* oklch */ color: oklch(53.8% 0.225 279.4);
Tailwind
colors: {
  custom: {
    50: '#9982f3',
    500: '#5c4feb',
    950: '#000000',
  },
}
SCSS
$custom: #5c4feb;
$custom-light: #9982f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4feb",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 245,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.53833,
    "c": 0.22501,
    "h": 279.4
  },
  "luminance": 0.13865
}

Semantic roles & 50–950 ramp

primary
#5C4FEB
secondary
#E3E8AE
accent
#DC0ACA
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C4FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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