#5E4CEB#5E4CEB

#5E4CEB is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.5% C 0.228 H 280.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5E4CEB
RGBrgb(94, 76, 235)
HSLhsl(247, 80%, 61%)
HSVhsv(247, 68%, 92%)
CMYKcmyk(60%, 67.7%, 0%, 7.8%)
CIE-LABlab(43.57, 51.10, -77.78)
CIE-LCHlch(43.57, 93.06, 303.31°)
OKLaboklab(53.54% 0.0416 -0.2241)
OKLCHoklch(53.54% 0.228 280.5)
XYZxyz(22.1912, 13.5451, 80.0262)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4CEB #D9EB4C
analogous
#4C8AEB #5E4CEB #AD4CEB
triadic
#5E4CEB #EB5E4C #4CEB5E
tetradic
#5E4CEB #EB4C8A #D9EB4C #4CEBAD
square
#5E4CEB #EB4C8A #D9EB4C #4CEBAD
split-complementary
#5E4CEB #EBAD4C #8AEB4C
monochromatic
#2413AA #3019E1 #5E4CEB #9083F1 #C1BAF7

Accessibility & contrast

On white

5.66
#5E4CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5E4CEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4CEB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4CEB#FFFFFF#000000##FFFFFF
##5E4CEB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e4ceb;
/* rgb */ color: rgb(94, 76, 235);
/* oklch */ color: oklch(53.5% 0.228 280.5);
Tailwind
colors: {
  custom: {
    50: '#9a80f3',
    500: '#5e4ceb',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ceb;
$custom-light: #9a80f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ceb",
  "rgb": {
    "r": 94,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 246.792,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53537,
    "c": 0.22796,
    "h": 280.5
  },
  "luminance": 0.13547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E4CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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