#4E4EA1#4E4EA1

#4E4EA1 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.131 H 280.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#4E4EA1
RGBrgb(78, 78, 161)
HSLhsl(240, 35%, 47%)
HSVhsv(240, 52%, 63%)
CMYKcmyk(51.6%, 51.6%, 0%, 36.9%)
CIE-LABlab(37.19, 23.62, -45.20)
CIE-LCHlch(37.19, 51.00, 297.59°)
OKLaboklab(46.79% 0.0229 -0.1288)
OKLCHoklch(46.79% 0.131 280.1)
XYZxyz(12.2973, 9.6410, 34.9242)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EA1 #A1A14E
analogous
#4E78A1 #4E4EA1 #784EA1
triadic
#4E4EA1 #A14E4E #4EA14E
tetradic
#4E4EA1 #A14E78 #A1A14E #4EA178
square
#4E4EA1 #A14E78 #A1A14E #4EA178
split-complementary
#4E4EA1 #A1784E #78A14E
monochromatic
#26264F #3A3A78 #4E4EA1 #7272BB #9B9BCF

Accessibility & contrast

On white

7.17
#4E4EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4E4EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4EA1
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EA1#FFFFFF#000000##FFFFFF
##4E4EA11.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255BA4
Deuteranopia (green-blind)
#1D549F
Tritanopia (blue-blind)
#2D6070
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e4ea1;
/* rgb */ color: rgb(78, 78, 161);
/* oklch */ color: oklch(46.8% 0.131 280.1);
Tailwind
colors: {
  custom: {
    50: '#867fbd',
    500: '#4e4ea1',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ea1;
$custom-light: #867fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ea1",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 240,
    "s": 34.728,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46787,
    "c": 0.13087,
    "h": 280.1
  },
  "luminance": 0.09642
}

Semantic roles & 50–950 ramp

primary
#4E4EA1
secondary
#BBBB90
accent
#CB5DCB
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4E4EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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