#5C4DEB#5C4DEB

#5C4DEB is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.5% C 0.227 H 279.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5C4DEB
RGBrgb(92, 77, 235)
HSLhsl(246, 80%, 61%)
HSVhsv(246, 67%, 92%)
CMYKcmyk(60.9%, 67.2%, 0%, 7.8%)
CIE-LABlab(43.62, 50.27, -77.70)
CIE-LCHlch(43.62, 92.54, 302.90°)
OKLaboklab(53.54% 0.0383 -0.224)
OKLCHoklch(53.54% 0.227 279.7)
XYZxyz(22.0581, 13.5796, 80.0399)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4DEB #DCEB4D
analogous
#4D8DEB #5C4DEB #AB4DEB
triadic
#5C4DEB #EB5C4D #4DEB5C
tetradic
#5C4DEB #EB4D8D #DCEB4D #4DEBAB
square
#5C4DEB #EB4D8D #DCEB4D #4DEBAB
split-complementary
#5C4DEB #EBAB4D #8DEB4D
monochromatic
#2213AA #2C19E1 #5C4DEB #8E84F1 #C1BBF7

Accessibility & contrast

On white

5.65
#5C4DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5C4DEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4DEB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4DEB#FFFFFF#000000##FFFFFF
##5C4DEB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c4deb;
/* rgb */ color: rgb(92, 77, 235);
/* oklch */ color: oklch(53.5% 0.227 279.7);
Tailwind
colors: {
  custom: {
    50: '#9980f3',
    500: '#5c4deb',
    950: '#000000',
  },
}
SCSS
$custom: #5c4deb;
$custom-light: #9980f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4deb",
  "rgb": {
    "r": 92,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 245.696,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.53535,
    "c": 0.22721,
    "h": 279.7
  },
  "luminance": 0.13581
}

Semantic roles & 50–950 ramp

primary
#5C4DEB
secondary
#E2E8AC
accent
#DC09C8
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C4DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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