#4E4EA6#4E4EA6

#4E4EA6 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.138 H 279.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#4E4EA6
RGBrgb(78, 78, 166)
HSLhsl(240, 36%, 48%)
HSVhsv(240, 53%, 65%)
CMYKcmyk(53%, 53%, 0%, 34.9%)
CIE-LABlab(37.52, 25.25, -47.66)
CIE-LCHlch(37.52, 53.93, 297.91°)
OKLaboklab(47.14% 0.0233 -0.1361)
OKLCHoklch(47.14% 0.138 279.7)
XYZxyz(12.7471, 9.8209, 37.2929)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EA6 #A6A64E
analogous
#4E7AA6 #4E4EA6 #7A4EA6
triadic
#4E4EA6 #A64E4E #4EA64E
tetradic
#4E4EA6 #A64E7A #A6A64E #4EA67A
square
#4E4EA6 #A64E7A #A6A64E #4EA67A
split-complementary
#4E4EA6 #A67A4E #7AA64E
monochromatic
#272753 #3A3A7C #4E4EA6 #7474BE #9D9DD1

Accessibility & contrast

On white

7.08
#4E4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4E4EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4EA6
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EA6#FFFFFF#000000##FFFFFF
##4E4EA61.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5CA9
Deuteranopia (green-blind)
#1355A4
Tritanopia (blue-blind)
#286272
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e4ea6;
/* rgb */ color: rgb(78, 78, 166);
/* oklch */ color: oklch(47.1% 0.138 279.7);
Tailwind
colors: {
  custom: {
    50: '#867fc1',
    500: '#4e4ea6',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ea6;
$custom-light: #867fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ea6",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 240,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47139,
    "c": 0.13807,
    "h": 279.7
  },
  "luminance": 0.09822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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