#5E4BE6#5E4BE6

#5E4BE6 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 53.0% C 0.223 H 281.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5E4BE6
RGBrgb(94, 75, 230)
HSLhsl(247, 76%, 60%)
HSVhsv(247, 67%, 90%)
CMYKcmyk(59.1%, 67.4%, 0%, 9.8%)
CIE-LABlab(42.95, 50.14, -75.97)
CIE-LCHlch(42.95, 91.03, 303.42°)
OKLaboklab(52.96% 0.0431 -0.2188)
OKLCHoklch(52.96% 0.223 281.1)
XYZxyz(21.4106, 13.1235, 76.2524)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BE6 #D3E64B
analogous
#4B85E6 #5E4BE6 #AC4BE6
triadic
#5E4BE6 #E65E4B #4BE65E
tetradic
#5E4BE6 #E64B85 #D3E64B #4BE6AC
square
#5E4BE6 #E64B85 #D3E64B #4BE6AC
split-complementary
#5E4BE6 #E6AC4B #85E64B
monochromatic
#2716A0 #341ED6 #5E4BE6 #8E81ED #BEB6F5

Accessibility & contrast

On white

5.79
#5E4BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5E4BE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BE6
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BE6#FFFFFF#000000##FFFFFF
##5E4BE61.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEB
Deuteranopia (green-blind)
#0060E3
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e4be6;
/* rgb */ color: rgb(94, 75, 230);
/* oklch */ color: oklch(53.0% 0.223 281.1);
Tailwind
colors: {
  custom: {
    50: '#997fef',
    500: '#5e4be6',
    950: '#000000',
  },
}
SCSS
$custom: #5e4be6;
$custom-light: #997fef;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4be6",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 230
  },
  "hsl": {
    "h": 247.355,
    "s": 75.61,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52958,
    "c": 0.22305,
    "h": 281.1
  },
  "luminance": 0.13125
}

Semantic roles & 50–950 ramp

primary
#5E4BE6
secondary
#DDE4A8
accent
#F236DB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E4BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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