#5E4BCA#5E4BCA

#5E4BCA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.6% C 0.188 H 284.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5E4BCA
RGBrgb(94, 75, 202)
HSLhsl(249, 55%, 54%)
HSVhsv(249, 63%, 79%)
CMYKcmyk(53.5%, 62.9%, 0%, 20.8%)
CIE-LABlab(40.70, 41.63, -63.61)
CIE-LCHlch(40.70, 76.02, 303.21°)
OKLaboklab(50.63% 0.0463 -0.1825)
OKLCHoklch(50.63% 0.188 284.2)
XYZxyz(17.7896, 11.6751, 57.1818)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BCA #B7CA4B
analogous
#4B78CA #5E4BCA #9D4BCA
triadic
#5E4BCA #CA5E4B #4BCA5E
tetradic
#5E4BCA #CA4B78 #B7CA4B #4BCA9D
square
#5E4BCA #CA4B78 #B7CA4B #4BCA9D
split-complementary
#5E4BCA #CA9D4B #78CA4B
monochromatic
#302377 #4331A7 #5E4BCA #887AD8 #B3AAE6

Accessibility & contrast

On white

6.30
#5E4BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5E4BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BCA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BCA#FFFFFF#000000##FFFFFF
##5E4BCA1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#306A83
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e4bca;
/* rgb */ color: rgb(94, 75, 202);
/* oklch */ color: oklch(50.6% 0.188 284.2);
Tailwind
colors: {
  custom: {
    50: '#957edb',
    500: '#5e4bca',
    950: '#000000',
  },
}
SCSS
$custom: #5e4bca;
$custom-light: #957edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4bca",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 248.976,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50628,
    "c": 0.18834,
    "h": 284.2
  },
  "luminance": 0.11676
}

Semantic roles & 50–950 ramp

primary
#5E4BCA
secondary
#CBD39D
accent
#DE4AC8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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