#5E4BCD#5E4BCD

#5E4BCD is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.9% C 0.192 H 283.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5E4BCD
RGBrgb(94, 75, 205)
HSLhsl(249, 57%, 55%)
HSVhsv(249, 63%, 80%)
CMYKcmyk(54.1%, 63.4%, 0%, 19.6%)
CIE-LABlab(40.93, 42.55, -64.97)
CIE-LCHlch(40.93, 77.66, 303.22°)
OKLaboklab(50.87% 0.0461 -0.1865)
OKLCHoklch(50.87% 0.192 283.9)
XYZxyz(18.1483, 11.8186, 59.0707)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BCD #BACD4B
analogous
#4B79CD #5E4BCD #9F4BCD
triadic
#5E4BCD #CD5E4B #4BCD5E
tetradic
#5E4BCD #CD4B79 #BACD4B #4BCD9F
square
#5E4BCD #CD4B79 #BACD4B #4BCD9F
split-complementary
#5E4BCD #CD9F4B #79CD4B
monochromatic
#2F227B #4230AB #5E4BCD #897BDA #B4ABE8

Accessibility & contrast

On white

6.24
#5E4BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5E4BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BCD
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BCD#FFFFFF#000000##FFFFFF
##5E4BCD1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#2D6B85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e4bcd;
/* rgb */ color: rgb(94, 75, 205);
/* oklch */ color: oklch(50.9% 0.192 283.9);
Tailwind
colors: {
  custom: {
    50: '#957edd',
    500: '#5e4bcd',
    950: '#000000',
  },
}
SCSS
$custom: #5e4bcd;
$custom-light: #957edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4bcd",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 248.769,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50869,
    "c": 0.19216,
    "h": 283.9
  },
  "luminance": 0.1182
}

Semantic roles & 50–950 ramp

primary
#5E4BCD
secondary
#CDD59F
accent
#E048CA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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