#5E4BBF#5E4BBF

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

Color values

HEX#5E4BBF
RGBrgb(94, 75, 191)
HSLhsl(250, 48%, 52%)
HSVhsv(250, 61%, 75%)
CMYKcmyk(50.8%, 60.7%, 0%, 25.1%)
CIE-LABlab(39.87, 38.29, -58.55)
CIE-LCHlch(39.87, 69.96, 303.18°)
OKLaboklab(49.77% 0.0471 -0.1677)
OKLCHoklch(49.77% 0.174 285.7)
XYZxyz(16.5333, 11.1726, 50.5655)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BBF #ACBF4B
analogous
#4B72BF #5E4BBF #984BBF
triadic
#5E4BBF #BF5E4B #4BBF5E
tetradic
#5E4BBF #BF4B72 #ACBF4B #4BBF98
square
#5E4BBF #BF4B72 #ACBF4B #4BBF98
split-complementary
#5E4BBF #BF984B #72BF4B
monochromatic
#31266A #463697 #5E4BBF #8678CF #AFA5DF

Accessibility & contrast

On white

6.49
#5E4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5E4BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BBF
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BBF#FFFFFF#000000##FFFFFF
##5E4BBF1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#3A667E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e4bbf;
/* rgb */ color: rgb(94, 75, 191);
/* oklch */ color: oklch(49.8% 0.174 285.7);
Tailwind
colors: {
  custom: {
    50: '#937ed3',
    500: '#5e4bbf',
    950: '#000000',
  },
}
SCSS
$custom: #5e4bbf;
$custom-light: #937ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4bbf",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 249.828,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49766,
    "c": 0.17416,
    "h": 285.7
  },
  "luminance": 0.11173
}

Semantic roles & 50–950 ramp

primary
#5E4BBF
secondary
#C4CC9A
accent
#D751C1
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E4BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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