#4E4893#4E4893

#4E4893 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.6% C 0.119 H 284.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4E4893
RGBrgb(78, 72, 147)
HSLhsl(245, 34%, 43%)
HSVhsv(245, 51%, 58%)
CMYKcmyk(46.9%, 51%, 0%, 42.4%)
CIE-LABlab(34.72, 22.98, -40.70)
CIE-LCHlch(34.72, 46.74, 299.44°)
OKLaboklab(44.64% 0.029 -0.1157)
OKLCHoklch(44.64% 0.119 284.1)
XYZxyz(10.7242, 8.3605, 28.6468)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4893 #8D9348
analogous
#486793 #4E4893 #734893
triadic
#4E4893 #934E48 #48934E
tetradic
#4E4893 #934867 #8D9348 #489373
square
#4E4893 #934867 #8D9348 #489373
split-complementary
#4E4893 #937348 #679348
monochromatic
#222041 #38346A #4E4893 #6B65B3 #928EC8

Accessibility & contrast

On white

7.86
#4E4893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4E4893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4893
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4893#FFFFFF#000000##FFFFFF
##4E48931.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275496
Deuteranopia (green-blind)
#244F91
Tritanopia (blue-blind)
#375866
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4893;
/* rgb */ color: rgb(78, 72, 147);
/* oklch */ color: oklch(44.6% 0.119 284.1);
Tailwind
colors: {
  custom: {
    50: '#847bb3',
    500: '#4e4893',
    950: '#000000',
  },
}
SCSS
$custom: #4e4893;
$custom-light: #847bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4893",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 147
  },
  "hsl": {
    "h": 244.8,
    "s": 34.247,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44644,
    "c": 0.11927,
    "h": 284.1
  },
  "luminance": 0.08361
}

Semantic roles & 50–950 ramp

primary
#4E4893
secondary
#AFB384
accent
#CA5DC2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4893

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

Preview Lab → · Contrast checker → · Palette generator →

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