#4E4591#4E4591

#4E4591 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.121 H 285.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#4E4591
RGBrgb(78, 69, 145)
HSLhsl(247, 36%, 42%)
HSVhsv(247, 52%, 57%)
CMYKcmyk(46.2%, 52.4%, 0%, 43.1%)
CIE-LABlab(33.82, 24.27, -40.94)
CIE-LCHlch(33.82, 47.59, 300.66°)
OKLaboklab(43.92% 0.0327 -0.1164)
OKLCHoklch(43.92% 0.121 285.7)
XYZxyz(10.3794, 7.9198, 27.7644)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4591 #889145
analogous
#456291 #4E4591 #744591
triadic
#4E4591 #914E45 #45914E
tetradic
#4E4591 #914562 #889145 #459174
square
#4E4591 #914562 #889145 #459174
split-complementary
#4E4591 #917445 #629145
monochromatic
#211E3E #383168 #4E4591 #6A60B3 #9189C7

Accessibility & contrast

On white

8.13
#4E4591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4E4591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4591
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4591#FFFFFF#000000##FFFFFF
##4E45911.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225294
Deuteranopia (green-blind)
#204D8F
Tritanopia (blue-blind)
#395564
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4591;
/* rgb */ color: rgb(78, 69, 145);
/* oklch */ color: oklch(43.9% 0.121 285.7);
Tailwind
colors: {
  custom: {
    50: '#8479b2',
    500: '#4e4591',
    950: '#000000',
  },
}
SCSS
$custom: #4e4591;
$custom-light: #8479b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4591",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 247.105,
    "s": 35.514,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43923,
    "c": 0.12089,
    "h": 285.7
  },
  "luminance": 0.0792
}

Semantic roles & 50–950 ramp

primary
#4E4591
secondary
#ACB280
accent
#CC5CBE
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4591

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

Preview Lab → · Contrast checker → · Palette generator →

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