#4E4891#4E4891

#4E4891 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.5% C 0.116 H 284.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#4E4891
RGBrgb(78, 72, 145)
HSLhsl(245, 34%, 43%)
HSVhsv(245, 50%, 57%)
CMYKcmyk(46.2%, 50.3%, 0%, 43.1%)
CIE-LABlab(34.60, 22.35, -39.69)
CIE-LCHlch(34.60, 45.54, 299.38°)
OKLaboklab(44.51% 0.0288 -0.1127)
OKLCHoklch(44.51% 0.116 284.3)
XYZxyz(10.5686, 8.2983, 27.8274)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4891 #8B9148
analogous
#486691 #4E4891 #734891
triadic
#4E4891 #914E48 #48914E
tetradic
#4E4891 #914866 #8B9148 #489173
square
#4E4891 #914866 #8B9148 #489173
split-complementary
#4E4891 #917348 #669148
monochromatic
#221F3F #383468 #4E4891 #6B64B2 #928DC6

Accessibility & contrast

On white

7.90
#4E4891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4E4891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4891
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4891#FFFFFF#000000##FFFFFF
##4E48911.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295494
Deuteranopia (green-blind)
#264F8F
Tritanopia (blue-blind)
#385765
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e4891;
/* rgb */ color: rgb(78, 72, 145);
/* oklch */ color: oklch(44.5% 0.116 284.3);
Tailwind
colors: {
  custom: {
    50: '#847bb2',
    500: '#4e4891',
    950: '#000000',
  },
}
SCSS
$custom: #4e4891;
$custom-light: #847bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4891",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 145
  },
  "hsl": {
    "h": 244.932,
    "s": 33.641,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44509,
    "c": 0.11633,
    "h": 284.3
  },
  "luminance": 0.08299
}

Semantic roles & 50–950 ramp

primary
#4E4891
secondary
#AEB283
accent
#CA5EC1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4891

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

Preview Lab → · Contrast checker → · Palette generator →

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