#4E4ED9#4E4ED9

#4E4ED9 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.2% C 0.207 H 276.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4E4ED9
RGBrgb(78, 78, 217)
HSLhsl(240, 65%, 58%)
HSVhsv(240, 64%, 85%)
CMYKcmyk(64.1%, 64.1%, 0%, 14.9%)
CIE-LABlab(41.34, 42.03, -71.25)
CIE-LCHlch(41.34, 82.72, 300.54°)
OKLaboklab(51.16% 0.0225 -0.2054)
OKLCHoklch(51.16% 0.207 276.2)
XYZxyz(18.3866, 12.0767, 66.9943)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4ED9 #D9D94E
analogous
#4E93D9 #4E4ED9 #934ED9
triadic
#4E4ED9 #D94E4E #4ED94E
tetradic
#4E4ED9 #D94E93 #D9D94E #4ED993
square
#4E4ED9 #D94E93 #D9D94E #4ED993
split-complementary
#4E4ED9 #D9934E #93D94E
monochromatic
#1F1F8E #2929C0 #4E4ED9 #8080E4 #B3B3EF

Accessibility & contrast

On white

6.15
#4E4ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4E4ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4ED9
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4ED9#FFFFFF#000000##FFFFFF
##4E4ED91.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#005BD6
Tritanopia (blue-blind)
#00728C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e4ed9;
/* rgb */ color: rgb(78, 78, 217);
/* oklch */ color: oklch(51.2% 0.207 276.2);
Tailwind
colors: {
  custom: {
    50: '#8f80e6',
    500: '#4e4ed9',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ed9;
$custom-light: #8f80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ed9",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 240,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5116,
    "c": 0.20665,
    "h": 276.2
  },
  "luminance": 0.12078
}

Semantic roles & 50–950 ramp

primary
#4E4ED9
secondary
#DDDDA6
accent
#E840E8
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E4ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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