#5C4CEB#5C4CEB

#5C4CEB is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.4% C 0.228 H 279.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5C4CEB
RGBrgb(92, 76, 235)
HSLhsl(246, 80%, 61%)
HSVhsv(246, 68%, 92%)
CMYKcmyk(60.9%, 67.7%, 0%, 7.8%)
CIE-LABlab(43.42, 50.82, -78.04)
CIE-LCHlch(43.42, 93.13, 303.08°)
OKLaboklab(53.39% 0.0391 -0.2249)
OKLCHoklch(53.39% 0.228 279.9)
XYZxyz(21.9887, 13.4407, 80.0167)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4CEB #DBEB4C
analogous
#4C8BEB #5C4CEB #AB4CEB
triadic
#5C4CEB #EB5C4C #4CEB5C
tetradic
#5C4CEB #EB4C8B #DBEB4C #4CEBAB
square
#5C4CEB #EB4C8B #DBEB4C #4CEBAB
split-complementary
#5C4CEB #EBAB4C #8BEB4C
monochromatic
#2213AA #2D19E1 #5C4CEB #8E83F1 #C0BAF7

Accessibility & contrast

On white

5.69
#5C4CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5C4CEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4CEB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4CEB#FFFFFF#000000##FFFFFF
##5C4CEB1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF0
Deuteranopia (green-blind)
#0060E8
Tritanopia (blue-blind)
#007696
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5c4ceb;
/* rgb */ color: rgb(92, 76, 235);
/* oklch */ color: oklch(53.4% 0.228 279.9);
Tailwind
colors: {
  custom: {
    50: '#9980f3',
    500: '#5c4ceb',
    950: '#000000',
  },
}
SCSS
$custom: #5c4ceb;
$custom-light: #9980f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4ceb",
  "rgb": {
    "r": 92,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 246.038,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53388,
    "c": 0.22831,
    "h": 279.9
  },
  "luminance": 0.13442
}

Semantic roles & 50–950 ramp

primary
#5C4CEB
secondary
#E1E7AB
accent
#DC09C7
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C4CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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