#4E4AED#4E4AED

#4E4AED is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.3% C 0.236 H 275.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4E4AED
RGBrgb(78, 74, 237)
HSLhsl(241, 82%, 61%)
HSVhsv(241, 69%, 93%)
CMYKcmyk(67.1%, 68.8%, 0%, 7.1%)
CIE-LABlab(42.20, 50.79, -81.20)
CIE-LCHlch(42.20, 95.78, 302.03°)
OKLaboklab(52.31% 0.023 -0.2346)
OKLCHoklch(52.31% 0.236 275.6)
XYZxyz(20.8717, 12.6298, 81.4422)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AED #E9ED4A
analogous
#4A98ED #4E4AED #9F4AED
triadic
#4E4AED #ED4E4A #4AED4E
tetradic
#4E4AED #ED4A98 #E9ED4A #4AED9F
square
#4E4AED #ED4A98 #E9ED4A #4AED9F
split-complementary
#4E4AED #ED9F4A #98ED4A
monochromatic
#1511AC #1C17E3 #4E4AED #8482F3 #BBB9F8

Accessibility & contrast

On white

5.96
#4E4AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4E4AED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4AED
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AED#FFFFFF#000000##FFFFFF
##4E4AED1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF2
Deuteranopia (green-blind)
#005CEA
Tritanopia (blue-blind)
#007696
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e4aed;
/* rgb */ color: rgb(78, 74, 237);
/* oklch */ color: oklch(52.3% 0.236 275.6);
Tailwind
colors: {
  custom: {
    50: '#937ef4',
    500: '#4e4aed',
    950: '#000000',
  },
}
SCSS
$custom: #4e4aed;
$custom-light: #937ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4aed",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 237
  },
  "hsl": {
    "h": 241.472,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52312,
    "c": 0.23571,
    "h": 275.6
  },
  "luminance": 0.12632
}

Semantic roles & 50–950 ramp

primary
#4E4AED
secondary
#E7E8AB
accent
#DE07D9
background
#FAF7FF
surface
#F3EEFE
border
#CDC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #4E4AED

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

Preview Lab → · Contrast checker → · Palette generator →

#4E4AED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva