#5E4BBE#5E4BBE

#5E4BBE is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.7% C 0.173 H 285.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5E4BBE
RGBrgb(94, 75, 190)
HSLhsl(250, 47%, 52%)
HSVhsv(250, 61%, 75%)
CMYKcmyk(50.5%, 60.5%, 0%, 25.5%)
CIE-LABlab(39.80, 37.99, -58.09)
CIE-LCHlch(39.80, 69.41, 303.19°)
OKLaboklab(49.69% 0.0471 -0.1663)
OKLCHoklch(49.69% 0.173 285.8)
XYZxyz(16.4237, 11.1287, 49.9879)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BBE #ABBE4B
analogous
#4B72BE #5E4BBE #984BBE
triadic
#5E4BBE #BE5E4B #4BBE5E
tetradic
#5E4BBE #BE4B72 #ABBE4B #4BBE98
square
#5E4BBE #BE4B72 #ABBE4B #4BBE98
split-complementary
#5E4BBE #BE984B #72BE4B
monochromatic
#312669 #463696 #5E4BBE #8678CE #AEA5DE

Accessibility & contrast

On white

6.51
#5E4BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E4BBE
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BBE#FFFFFF#000000##FFFFFF
##5E4BBE1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#3B667D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e4bbe;
/* rgb */ color: rgb(94, 75, 190);
/* oklch */ color: oklch(49.7% 0.173 285.8);
Tailwind
colors: {
  custom: {
    50: '#937ed2',
    500: '#5e4bbe',
    950: '#000000',
  },
}
SCSS
$custom: #5e4bbe;
$custom-light: #937ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4bbe",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 249.913,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49689,
    "c": 0.17286,
    "h": 285.8
  },
  "luminance": 0.1113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E4BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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