#4E4ED1#4E4ED1

#4E4ED1 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.5% C 0.196 H 276.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4E4ED1
RGBrgb(78, 78, 209)
HSLhsl(240, 59%, 56%)
HSVhsv(240, 63%, 82%)
CMYKcmyk(62.7%, 62.7%, 0%, 18%)
CIE-LABlab(40.69, 39.41, -67.72)
CIE-LCHlch(40.69, 78.35, 300.20°)
OKLaboklab(50.48% 0.023 -0.1951)
OKLCHoklch(50.48% 0.196 276.7)
XYZxyz(17.3712, 11.6705, 61.6465)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4ED1 #D1D14E
analogous
#4E90D1 #4E4ED1 #904ED1
triadic
#4E4ED1 #D14E4E #4ED14E
tetradic
#4E4ED1 #D14E90 #D1D14E #4ED190
square
#4E4ED1 #D14E90 #D1D14E #4ED190
split-complementary
#4E4ED1 #D1904E #90D14E
monochromatic
#222283 #2F2FB3 #4E4ED1 #7F7FDE #AFAFEA

Accessibility & contrast

On white

6.30
#4E4ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4E4ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4ED1
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4ED1#FFFFFF#000000##FFFFFF
##4E4ED11.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#005ACE
Tritanopia (blue-blind)
#006F88
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e4ed1;
/* rgb */ color: rgb(78, 78, 209);
/* oklch */ color: oklch(50.5% 0.196 276.7);
Tailwind
colors: {
  custom: {
    50: '#8d80e0',
    500: '#4e4ed1',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ed1;
$custom-light: #8d80e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ed1",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 209
  },
  "hsl": {
    "h": 240,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50484,
    "c": 0.19643,
    "h": 276.7
  },
  "luminance": 0.11672
}

Semantic roles & 50–950 ramp

primary
#4E4ED1
secondary
#D8D8A2
accent
#E246E2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #4E4ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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