#5E4FCA#5E4FCA

#5E4FCA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.3% C 0.183 H 283.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5E4FCA
RGBrgb(94, 79, 202)
HSLhsl(247, 54%, 55%)
HSVhsv(247, 61%, 79%)
CMYKcmyk(53.5%, 60.9%, 0%, 20.8%)
CIE-LABlab(41.59, 39.28, -62.16)
CIE-LCHlch(41.59, 73.53, 302.29°)
OKLaboklab(51.28% 0.0424 -0.1783)
OKLCHoklch(51.28% 0.183 283.4)
XYZxyz(18.0695, 12.2349, 57.2751)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FCA #BBCA4F
analogous
#4F7DCA #5E4FCA #9B4FCA
triadic
#5E4FCA #CA5E4F #4FCA5E
tetradic
#5E4FCA #CA4F7D #BBCA4F #4FCA9B
square
#5E4FCA #CA4F7D #BBCA4F #4FCA9B
split-complementary
#5E4FCA #CA9B4F #7DCA4F
monochromatic
#2F257A #4133A9 #5E4FCA #897ED8 #B4ADE6

Accessibility & contrast

On white

6.09
#5E4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5E4FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FCA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FCA#FFFFFF#000000##FFFFFF
##5E4FCA1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#2F6C85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e4fca;
/* rgb */ color: rgb(94, 79, 202);
/* oklch */ color: oklch(51.3% 0.183 283.4);
Tailwind
colors: {
  custom: {
    50: '#9581db',
    500: '#5e4fca',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fca;
$custom-light: #9581db;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fca",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 247.317,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5128,
    "c": 0.18325,
    "h": 283.4
  },
  "luminance": 0.12236
}

Semantic roles & 50–950 ramp

primary
#5E4FCA
secondary
#CED4A1
accent
#DD4BCB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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