#4E4793#4E4793

#4E4793 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.121 H 284.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#4E4793
RGBrgb(78, 71, 147)
HSLhsl(246, 35%, 43%)
HSVhsv(246, 52%, 58%)
CMYKcmyk(46.9%, 51.7%, 0%, 42.4%)
CIE-LABlab(34.46, 23.62, -41.12)
CIE-LCHlch(34.46, 47.42, 299.87°)
OKLaboklab(44.45% 0.0303 -0.1169)
OKLCHoklch(44.45% 0.121 284.5)
XYZxyz(10.6600, 8.2323, 28.6254)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4793 #8C9347
analogous
#476693 #4E4793 #744793
triadic
#4E4793 #934E47 #47934E
tetradic
#4E4793 #934766 #8C9347 #479374
square
#4E4793 #934766 #8C9347 #479374
split-complementary
#4E4793 #937447 #669347
monochromatic
#221F40 #38336A #4E4793 #6B63B4 #928DC8

Accessibility & contrast

On white

7.93
#4E4793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4E4793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4793
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4793#FFFFFF#000000##FFFFFF
##4E47931.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255396
Deuteranopia (green-blind)
#224F91
Tritanopia (blue-blind)
#375766
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e4793;
/* rgb */ color: rgb(78, 71, 147);
/* oklch */ color: oklch(44.4% 0.121 284.5);
Tailwind
colors: {
  custom: {
    50: '#847ab3',
    500: '#4e4793',
    950: '#000000',
  },
}
SCSS
$custom: #4e4793;
$custom-light: #847ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4793",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 147
  },
  "hsl": {
    "h": 245.526,
    "s": 34.862,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44449,
    "c": 0.12078,
    "h": 284.5
  },
  "luminance": 0.08233
}

Semantic roles & 50–950 ramp

primary
#4E4793
secondary
#AFB382
accent
#CB5DC1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4793

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

Preview Lab → · Contrast checker → · Palette generator →

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