#5E4FE4#5E4FE4

#5E4FE4 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.4% C 0.216 H 280.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5E4FE4
RGBrgb(94, 79, 228)
HSLhsl(246, 73%, 60%)
HSVhsv(246, 65%, 89%)
CMYKcmyk(58.8%, 65.4%, 0%, 10.6%)
CIE-LABlab(43.61, 47.28, -73.75)
CIE-LCHlch(43.61, 87.61, 302.66°)
OKLaboklab(53.39% 0.0402 -0.2123)
OKLCHoklch(53.39% 0.216 280.7)
XYZxyz(21.4113, 13.5716, 74.8750)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FE4 #D5E44F
analogous
#4F8BE4 #5E4FE4 #A84FE4
triadic
#5E4FE4 #E45E4F #4FE45E
tetradic
#5E4FE4 #E44F8B #D5E44F #4FE4A8
square
#5E4FE4 #E44F8B #D5E44F #4FE4A8
split-complementary
#5E4FE4 #E4A84F #8BE44F
monochromatic
#2619A0 #3321D5 #5E4FE4 #8F84EC #BFB9F4

Accessibility & contrast

On white

5.65
#5E4FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5E4FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FE4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FE4#FFFFFF#000000##FFFFFF
##5E4FE41.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e4fe4;
/* rgb */ color: rgb(94, 79, 228);
/* oklch */ color: oklch(53.4% 0.216 280.7);
Tailwind
colors: {
  custom: {
    50: '#9981ee',
    500: '#5e4fe4',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fe4;
$custom-light: #9981ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fe4",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 246.04,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53386,
    "c": 0.21609,
    "h": 280.7
  },
  "luminance": 0.13573
}

Semantic roles & 50–950 ramp

primary
#5E4FE4
secondary
#DEE4AB
accent
#D610C2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E4FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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