#4E4EC5#4E4EC5

#4E4EC5 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.5% C 0.181 H 277.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#4E4EC5
RGBrgb(78, 78, 197)
HSLhsl(240, 51%, 54%)
HSVhsv(240, 60%, 77%)
CMYKcmyk(60.4%, 60.4%, 0%, 22.7%)
CIE-LABlab(39.75, 35.45, -62.31)
CIE-LCHlch(39.75, 71.69, 299.64°)
OKLaboklab(49.5% 0.0237 -0.1792)
OKLCHoklch(49.5% 0.181 277.5)
XYZxyz(15.9411, 11.0985, 54.1147)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EC5 #C5C54E
analogous
#4E8AC5 #4E4EC5 #8A4EC5
triadic
#4E4EC5 #C54E4E #4EC54E
tetradic
#4E4EC5 #C54E8A #C5C54E #4EC58A
square
#4E4EC5 #C54E8A #C5C54E #4EC58A
split-complementary
#4E4EC5 #C58A4E #8AC54E
monochromatic
#262673 #3535A1 #4E4EC5 #7C7CD4 #AAAAE3

Accessibility & contrast

On white

6.52
#4E4EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4E4EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4EC5
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EC5#FFFFFF#000000##FFFFFF
##4E4EC51.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0059C3
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e4ec5;
/* rgb */ color: rgb(78, 78, 197);
/* oklch */ color: oklch(49.5% 0.181 277.5);
Tailwind
colors: {
  custom: {
    50: '#8b80d7',
    500: '#4e4ec5',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ec5;
$custom-light: #8b80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ec5",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 240,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49498,
    "c": 0.18073,
    "h": 277.5
  },
  "luminance": 0.111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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