#5E4FED#5E4FED

#5E4FED is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.2% C 0.227 H 279.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5E4FED
RGBrgb(94, 79, 237)
HSLhsl(246, 81%, 62%)
HSVhsv(246, 67%, 93%)
CMYKcmyk(60.3%, 66.7%, 0%, 7.1%)
CIE-LABlab(44.35, 50.04, -77.63)
CIE-LCHlch(44.35, 92.36, 302.81°)
OKLaboklab(54.15% 0.039 -0.2237)
OKLCHoklch(54.15% 0.227 279.9)
XYZxyz(22.6933, 14.0844, 81.6271)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FED #DEED4F
analogous
#4F8FED #5E4FED #AD4FED
triadic
#5E4FED #ED5E4F #4FED5E
tetradic
#5E4FED #ED4F8F #DEED4F #4FEDAD
square
#5E4FED #ED4F8F #DEED4F #4FEDAD
split-complementary
#5E4FED #EDAD4F #8FED4F
monochromatic
#2112B0 #2B18E7 #5E4FED #9187F3 #C4BEF8

Accessibility & contrast

On white

5.50
#5E4FED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5E4FED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FED
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FED#FFFFFF#000000##FFFFFF
##5E4FED1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF2
Deuteranopia (green-blind)
#0063EA
Tritanopia (blue-blind)
#007898
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e4fed;
/* rgb */ color: rgb(94, 79, 237);
/* oklch */ color: oklch(54.2% 0.227 279.9);
Tailwind
colors: {
  custom: {
    50: '#9a82f4',
    500: '#5e4fed',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fed;
$custom-light: #9a82f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fed",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 237
  },
  "hsl": {
    "h": 245.696,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54151,
    "c": 0.22707,
    "h": 279.9
  },
  "luminance": 0.14086
}

Semantic roles & 50–950 ramp

primary
#5E4FED
secondary
#E4E9AF
accent
#DE08C9
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E4FED

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

Preview Lab → · Contrast checker → · Palette generator →

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