#4E4EA4#4E4EA4

#4E4EA4 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.135 H 279.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#4E4EA4
RGBrgb(78, 78, 164)
HSLhsl(240, 36%, 47%)
HSVhsv(240, 52%, 64%)
CMYKcmyk(52.4%, 52.4%, 0%, 35.7%)
CIE-LABlab(37.39, 24.60, -46.68)
CIE-LCHlch(37.39, 52.76, 297.79°)
OKLaboklab(47% 0.0231 -0.1332)
OKLCHoklch(47% 0.135 279.9)
XYZxyz(12.5650, 9.7481, 36.3342)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EA4 #A4A44E
analogous
#4E79A4 #4E4EA4 #794EA4
triadic
#4E4EA4 #A44E4E #4EA44E
tetradic
#4E4EA4 #A44E79 #A4A44E #4EA479
square
#4E4EA4 #A44E79 #A4A44E #4EA479
split-complementary
#4E4EA4 #A4794E #79A44E
monochromatic
#272751 #3A3A7B #4E4EA4 #7373BC #9C9CD0

Accessibility & contrast

On white

7.12
#4E4EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4E4EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4EA4
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EA4#FFFFFF#000000##FFFFFF
##4E4EA41.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225BA7
Deuteranopia (green-blind)
#1855A2
Tritanopia (blue-blind)
#2A6171
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e4ea4;
/* rgb */ color: rgb(78, 78, 164);
/* oklch */ color: oklch(47.0% 0.135 279.9);
Tailwind
colors: {
  custom: {
    50: '#867fbf',
    500: '#4e4ea4',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ea4;
$custom-light: #867fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ea4",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 240,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46997,
    "c": 0.1352,
    "h": 279.9
  },
  "luminance": 0.09749
}

Semantic roles & 50–950 ramp

primary
#4E4EA4
secondary
#BDBD91
accent
#CC5CCC
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4E4EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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