#4E4EC4#4E4EC4

#4E4EC4 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.4% C 0.179 H 277.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4E4EC4
RGBrgb(78, 78, 196)
HSLhsl(240, 50%, 54%)
HSVhsv(240, 60%, 77%)
CMYKcmyk(60.2%, 60.2%, 0%, 23.1%)
CIE-LABlab(39.67, 35.12, -61.85)
CIE-LCHlch(39.67, 71.13, 299.59°)
OKLaboklab(49.42% 0.0237 -0.1778)
OKLCHoklch(49.42% 0.179 277.6)
XYZxyz(15.8269, 11.0528, 53.5132)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EC4 #C4C44E
analogous
#4E89C4 #4E4EC4 #894EC4
triadic
#4E4EC4 #C44E4E #4EC44E
tetradic
#4E4EC4 #C44E89 #C4C44E #4EC489
square
#4E4EC4 #C44E89 #C4C44E #4EC489
split-complementary
#4E4EC4 #C4894E #89C44E
monochromatic
#262672 #3535A0 #4E4EC4 #7C7CD3 #AAAAE3

Accessibility & contrast

On white

6.54
#4E4EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4E4EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4EC4
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EC4#FFFFFF#000000##FFFFFF
##4E4EC41.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e4ec4;
/* rgb */ color: rgb(78, 78, 196);
/* oklch */ color: oklch(49.4% 0.179 277.6);
Tailwind
colors: {
  custom: {
    50: '#8b80d7',
    500: '#4e4ec4',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ec4;
$custom-light: #8b80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ec4",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 196
  },
  "hsl": {
    "h": 240,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49418,
    "c": 0.17941,
    "h": 277.6
  },
  "luminance": 0.11054
}

Semantic roles & 50–950 ramp

primary
#4E4EC4
secondary
#D0D09E
accent
#DA4EDA
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4E4EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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