#4E4EA7#4E4EA7

#4E4EA7 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.140 H 279.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4E4EA7
RGBrgb(78, 78, 167)
HSLhsl(240, 36%, 48%)
HSVhsv(240, 53%, 65%)
CMYKcmyk(53.3%, 53.3%, 0%, 34.5%)
CIE-LABlab(37.59, 25.58, -48.15)
CIE-LCHlch(37.59, 54.52, 297.98°)
OKLaboklab(47.21% 0.0233 -0.1375)
OKLCHoklch(47.21% 0.14 279.6)
XYZxyz(12.8392, 9.8577, 37.7779)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EA7 #A7A74E
analogous
#4E7AA7 #4E4EA7 #7A4EA7
triadic
#4E4EA7 #A74E4E #4EA74E
tetradic
#4E4EA7 #A74E7A #A7A74E #4EA77A
square
#4E4EA7 #A74E7A #A7A74E #4EA77A
split-complementary
#4E4EA7 #A77A4E #7AA74E
monochromatic
#272754 #3B3B7D #4E4EA7 #7474BE #9E9ED2

Accessibility & contrast

On white

7.07
#4E4EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4E4EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4EA7
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EA7#FFFFFF#000000##FFFFFF
##4E4EA71.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5CAA
Deuteranopia (green-blind)
#1155A5
Tritanopia (blue-blind)
#276273
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e4ea7;
/* rgb */ color: rgb(78, 78, 167);
/* oklch */ color: oklch(47.2% 0.140 279.6);
Tailwind
colors: {
  custom: {
    50: '#867fc2',
    500: '#4e4ea7',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ea7;
$custom-light: #867fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ea7",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 240,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4721,
    "c": 0.1395,
    "h": 279.6
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#4E4EA7
secondary
#BEBE92
accent
#CC5BCC
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4E4EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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