#5C4BEB#5C4BEB

#5C4BEB is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.2% C 0.229 H 280.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5C4BEB
RGBrgb(92, 75, 235)
HSLhsl(246, 80%, 61%)
HSVhsv(246, 68%, 92%)
CMYKcmyk(60.9%, 68.1%, 0%, 7.8%)
CIE-LABlab(43.22, 51.37, -78.37)
CIE-LCHlch(43.22, 93.71, 303.25°)
OKLaboklab(53.24% 0.0398 -0.2259)
OKLCHoklch(53.24% 0.229 280)
XYZxyz(21.9203, 13.3040, 79.9940)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4BEB #DAEB4B
analogous
#4B8AEB #5C4BEB #AC4BEB
triadic
#5C4BEB #EB5C4B #4BEB5C
tetradic
#5C4BEB #EB4B8A #DAEB4B #4BEBAC
square
#5C4BEB #EB4B8A #DAEB4B #4BEBAC
split-complementary
#5C4BEB #EBAC4B #8AEB4B
monochromatic
#2313A9 #2E19E0 #5C4BEB #8E82F1 #C0B9F7

Accessibility & contrast

On white

5.74
#5C4BEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5C4BEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4BEB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4BEB#FFFFFF#000000##FFFFFF
##5C4BEB1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF0
Deuteranopia (green-blind)
#0060E8
Tritanopia (blue-blind)
#007695
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5c4beb;
/* rgb */ color: rgb(92, 75, 235);
/* oklch */ color: oklch(53.2% 0.229 280.0);
Tailwind
colors: {
  custom: {
    50: '#997ff3',
    500: '#5c4beb',
    950: '#000000',
  },
}
SCSS
$custom: #5c4beb;
$custom-light: #997ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4beb",
  "rgb": {
    "r": 92,
    "g": 75,
    "b": 235
  },
  "hsl": {
    "h": 246.375,
    "s": 80,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53243,
    "c": 0.22939,
    "h": 280
  },
  "luminance": 0.13306
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C4BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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