#5E4FEA#5E4FEA

#5E4FEA is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.9% C 0.223 H 280.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5E4FEA
RGBrgb(94, 79, 234)
HSLhsl(246, 79%, 61%)
HSVhsv(246, 66%, 92%)
CMYKcmyk(59.8%, 66.2%, 0%, 8.2%)
CIE-LABlab(44.10, 49.12, -76.34)
CIE-LCHlch(44.10, 90.78, 302.76°)
OKLaboklab(53.89% 0.0394 -0.2199)
OKLCHoklch(53.89% 0.223 280.2)
XYZxyz(22.2587, 13.9105, 79.3380)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FEA #DBEA4F
analogous
#4F8EEA #5E4FEA #AB4FEA
triadic
#5E4FEA #EA5E4F #4FEA5E
tetradic
#5E4FEA #EA4F8E #DBEA4F #4FEAAB
square
#5E4FEA #EA4F8E #DBEA4F #4FEAAB
split-complementary
#5E4FEA #EAAB4F #8EEA4F
monochromatic
#2314AA #2E1BE1 #5E4FEA #9086F1 #C2BCF7

Accessibility & contrast

On white

5.55
#5E4FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5E4FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FEA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FEA#FFFFFF#000000##FFFFFF
##5E4FEA1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#0062E7
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5e4fea;
/* rgb */ color: rgb(94, 79, 234);
/* oklch */ color: oklch(53.9% 0.223 280.2);
Tailwind
colors: {
  custom: {
    50: '#9a82f2',
    500: '#5e4fea',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fea;
$custom-light: #9a82f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fea",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 245.806,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53894,
    "c": 0.22344,
    "h": 280.2
  },
  "luminance": 0.13912
}

Semantic roles & 50–950 ramp

primary
#5E4FEA
secondary
#E2E7AD
accent
#DB0BC7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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