#5E4BE2#5E4BE2

#5E4BE2 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.6% C 0.218 H 281.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5E4BE2
RGBrgb(94, 75, 226)
HSLhsl(248, 72%, 59%)
HSVhsv(248, 67%, 89%)
CMYKcmyk(58.4%, 66.8%, 0%, 11.4%)
CIE-LABlab(42.61, 48.93, -74.25)
CIE-LCHlch(42.61, 88.92, 303.38°)
OKLaboklab(52.62% 0.0437 -0.2138)
OKLCHoklch(52.62% 0.218 281.5)
XYZxyz(20.8553, 12.9014, 73.3280)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BE2 #CFE24B
analogous
#4B84E2 #5E4BE2 #AA4BE2
triadic
#5E4BE2 #E25E4B #4BE25E
tetradic
#5E4BE2 #E24B84 #CFE24B #4BE2AA
square
#5E4BE2 #E24B84 #CFE24B #4BE2AA
split-complementary
#5E4BE2 #E2AA4B #84E24B
monochromatic
#29199A #3721CF #5E4BE2 #8D80EA #BCB4F3

Accessibility & contrast

On white

5.86
#5E4BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5E4BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BE2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BE2#FFFFFF#000000##FFFFFF
##5E4BE21.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#005FDF
Tritanopia (blue-blind)
#007290
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e4be2;
/* rgb */ color: rgb(94, 75, 226);
/* oklch */ color: oklch(52.6% 0.218 281.5);
Tailwind
colors: {
  custom: {
    50: '#997fec',
    500: '#5e4be2',
    950: '#000000',
  },
}
SCSS
$custom: #5e4be2;
$custom-light: #997fec;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4be2",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 247.55,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52615,
    "c": 0.21821,
    "h": 281.5
  },
  "luminance": 0.12903
}

Semantic roles & 50–950 ramp

primary
#5E4BE2
secondary
#DBE2A7
accent
#EF39D8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E4BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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