#5E4BC4#5E4BC4

#5E4BC4 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.2% C 0.181 H 285.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5E4BC4
RGBrgb(94, 75, 196)
HSLhsl(249, 51%, 53%)
HSVhsv(249, 62%, 77%)
CMYKcmyk(52%, 61.7%, 0%, 23.1%)
CIE-LABlab(40.24, 39.81, -60.87)
CIE-LCHlch(40.24, 72.73, 303.19°)
OKLaboklab(50.15% 0.0468 -0.1745)
OKLCHoklch(50.15% 0.181 285)
XYZxyz(17.0930, 11.3965, 53.5129)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BC4 #B1C44B
analogous
#4B75C4 #5E4BC4 #9A4BC4
triadic
#5E4BC4 #C45E4B #4BC45E
tetradic
#5E4BC4 #C44B75 #B1C44B #4BC49A
square
#5E4BC4 #C44B75 #B1C44B #4BC49A
split-complementary
#5E4BC4 #C49A4B #75C44B
monochromatic
#302570 #44349E #5E4BC4 #8779D3 #B0A7E2

Accessibility & contrast

On white

6.40
#5E4BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5E4BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BC4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BC4#FFFFFF#000000##FFFFFF
##5E4BC41.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#366880
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e4bc4;
/* rgb */ color: rgb(94, 75, 196);
/* oklch */ color: oklch(50.2% 0.181 285.0);
Tailwind
colors: {
  custom: {
    50: '#947ed7',
    500: '#5e4bc4',
    950: '#000000',
  },
}
SCSS
$custom: #5e4bc4;
$custom-light: #947ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4bc4",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 249.421,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50154,
    "c": 0.18065,
    "h": 285
  },
  "luminance": 0.11397
}

Semantic roles & 50–950 ramp

primary
#5E4BC4
secondary
#C7CF9B
accent
#DA4EC4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E4BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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