#4E4493#4E4493

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

Color values

HEX#4E4493
RGBrgb(78, 68, 147)
HSLhsl(248, 37%, 42%)
HSVhsv(248, 54%, 58%)
CMYKcmyk(46.9%, 53.7%, 0%, 42.4%)
CIE-LABlab(33.69, 25.53, -42.36)
CIE-LCHlch(33.69, 49.46, 301.08°)
OKLaboklab(43.87% 0.0341 -0.1206)
OKLCHoklch(43.87% 0.125 285.8)
XYZxyz(10.4739, 7.8601, 28.5634)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4493 #899344
analogous
#446293 #4E4493 #764493
triadic
#4E4493 #934E44 #44934E
tetradic
#4E4493 #934462 #899344 #449376
square
#4E4493 #934462 #899344 #449376
split-complementary
#4E4493 #937644 #629344
monochromatic
#221D3F #383169 #4E4493 #6A5FB5 #9189C8

Accessibility & contrast

On white

8.16
#4E4493 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4E4493 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4493
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4493#FFFFFF#000000##FFFFFF
##4E44931.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5196
Deuteranopia (green-blind)
#1B4D91
Tritanopia (blue-blind)
#385565
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4493;
/* rgb */ color: rgb(78, 68, 147);
/* oklch */ color: oklch(43.9% 0.125 285.8);
Tailwind
colors: {
  custom: {
    50: '#8478b3',
    500: '#4e4493',
    950: '#000000',
  },
}
SCSS
$custom: #4e4493;
$custom-light: #8478b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4493",
  "rgb": {
    "r": 78,
    "g": 68,
    "b": 147
  },
  "hsl": {
    "h": 247.595,
    "s": 36.744,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43871,
    "c": 0.1253,
    "h": 285.8
  },
  "luminance": 0.07861
}

Semantic roles & 50–950 ramp

primary
#4E4493
secondary
#ADB47F
accent
#CD5BBE
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4493

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

Preview Lab → · Contrast checker → · Palette generator →

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