#5E46E7#5E46E7

#5E46E7 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.3% C 0.230 H 281.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5E46E7
RGBrgb(94, 70, 231)
HSLhsl(249, 77%, 59%)
HSVhsv(249, 70%, 91%)
CMYKcmyk(59.3%, 69.7%, 0%, 9.4%)
CIE-LABlab(42.04, 53.16, -78.02)
CIE-LCHlch(42.04, 94.41, 304.27°)
OKLaboklab(52.34% 0.0468 -0.2248)
OKLCHoklch(52.34% 0.23 281.8)
XYZxyz(21.2255, 12.5280, 76.8855)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E46E7 #CFE746
analogous
#467FE7 #5E46E7 #AF46E7
triadic
#5E46E7 #E75E46 #46E75E
tetradic
#5E46E7 #E7467F #CFE746 #46E7AF
square
#5E46E7 #E7467F #CFE746 #46E7AF
split-complementary
#5E46E7 #E7AF46 #7FE746
monochromatic
#29159E #371CD4 #5E46E7 #8D7CEE #BCB2F5

Accessibility & contrast

On white

5.99
#5E46E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5E46E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E46E7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E46E7#FFFFFF#000000##FFFFFF
##5E46E71.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EC
Deuteranopia (green-blind)
#005DE4
Tritanopia (blue-blind)
#007192
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e46e7;
/* rgb */ color: rgb(94, 70, 231);
/* oklch */ color: oklch(52.3% 0.230 281.8);
Tailwind
colors: {
  custom: {
    50: '#9a7cf0',
    500: '#5e46e7',
    950: '#000000',
  },
}
SCSS
$custom: #5e46e7;
$custom-light: #9a7cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e46e7",
  "rgb": {
    "r": 94,
    "g": 70,
    "b": 231
  },
  "hsl": {
    "h": 248.944,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52336,
    "c": 0.22965,
    "h": 281.8
  },
  "luminance": 0.1253
}

Semantic roles & 50–950 ramp

primary
#5E46E7
secondary
#DBE4A5
accent
#F434D7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E46E7

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

Preview Lab → · Contrast checker → · Palette generator →

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