#5C4FEA#5C4FEA

#5C4FEA is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.7% C 0.224 H 279.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5C4FEA
RGBrgb(92, 79, 234)
HSLhsl(245, 79%, 61%)
HSVhsv(245, 66%, 92%)
CMYKcmyk(60.7%, 66.2%, 0%, 8.2%)
CIE-LABlab(43.95, 48.84, -76.60)
CIE-LCHlch(43.95, 90.84, 302.52°)
OKLaboklab(53.75% 0.0369 -0.2207)
OKLCHoklch(53.75% 0.224 279.5)
XYZxyz(22.0562, 13.8061, 79.3285)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FEA #DDEA4F
analogous
#4F90EA #5C4FEA #AA4FEA
triadic
#5C4FEA #EA5C4F #4FEA5C
tetradic
#5C4FEA #EA4F90 #DDEA4F #4FEAAA
square
#5C4FEA #EA4F90 #DDEA4F #4FEAAA
split-complementary
#5C4FEA #EAAA4F #90EA4F
monochromatic
#2114AA #2B1BE1 #5C4FEA #8F86F1 #C1BCF7

Accessibility & contrast

On white

5.58
#5C4FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5C4FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FEA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FEA#FFFFFF#000000##FFFFFF
##5C4FEA1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#0062E7
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5c4fea;
/* rgb */ color: rgb(92, 79, 234);
/* oklch */ color: oklch(53.7% 0.224 279.5);
Tailwind
colors: {
  custom: {
    50: '#9982f2',
    500: '#5c4fea',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fea;
$custom-light: #9982f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fea",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 245.032,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53747,
    "c": 0.2238,
    "h": 279.5
  },
  "luminance": 0.13808
}

Semantic roles & 50–950 ramp

primary
#5C4FEA
secondary
#E3E7AD
accent
#DB0BC9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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