#5E4BC0#5E4BC0

#5E4BC0 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.8% C 0.175 H 285.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5E4BC0
RGBrgb(94, 75, 192)
HSLhsl(250, 48%, 52%)
HSVhsv(250, 61%, 75%)
CMYKcmyk(51%, 60.9%, 0%, 24.7%)
CIE-LABlab(39.94, 38.60, -59.02)
CIE-LCHlch(39.94, 70.52, 303.18°)
OKLaboklab(49.84% 0.047 -0.169)
OKLCHoklch(49.84% 0.175 285.5)
XYZxyz(16.6438, 11.2168, 51.1470)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BC0 #ADC04B
analogous
#4B72C0 #5E4BC0 #994BC0
triadic
#5E4BC0 #C05E4B #4BC05E
tetradic
#5E4BC0 #C04B72 #ADC04B #4BC099
square
#5E4BC0 #C04B72 #ADC04B #4BC099
split-complementary
#5E4BC0 #C0994B #72C04B
monochromatic
#31256B #453598 #5E4BC0 #8778D0 #AFA6E0

Accessibility & contrast

On white

6.47
#5E4BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5E4BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BC0
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BC0#FFFFFF#000000##FFFFFF
##5E4BC01.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#005BBE
Tritanopia (blue-blind)
#39677E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e4bc0;
/* rgb */ color: rgb(94, 75, 192);
/* oklch */ color: oklch(49.8% 0.175 285.5);
Tailwind
colors: {
  custom: {
    50: '#947ed4',
    500: '#5e4bc0',
    950: '#000000',
  },
}
SCSS
$custom: #5e4bc0;
$custom-light: #947ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4bc0",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 249.744,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49843,
    "c": 0.17547,
    "h": 285.5
  },
  "luminance": 0.11218
}

Semantic roles & 50–950 ramp

primary
#5E4BC0
secondary
#C5CD9A
accent
#D850C2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E4BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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