#4E4392#4E4392

#4E4392 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.125 H 286.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4E4392
RGBrgb(78, 67, 146)
HSLhsl(248, 37%, 42%)
HSVhsv(248, 54%, 57%)
CMYKcmyk(46.6%, 54.1%, 0%, 42.7%)
CIE-LABlab(33.37, 25.86, -42.26)
CIE-LCHlch(33.37, 49.55, 301.46°)
OKLaboklab(43.61% 0.0353 -0.1203)
OKLCHoklch(43.61% 0.125 286.3)
XYZxyz(10.3358, 7.7089, 28.1319)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4392 #879243
analogous
#436092 #4E4392 #764392
triadic
#4E4392 #924E43 #43924E
tetradic
#4E4392 #924360 #879243 #439276
square
#4E4392 #924360 #879243 #439276
split-complementary
#4E4392 #927643 #609243
monochromatic
#211C3E #383068 #4E4392 #6A5DB5 #9087C8

Accessibility & contrast

On white

8.26
#4E4392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E4392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4392
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4392#FFFFFF#000000##FFFFFF
##4E43921.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5195
Deuteranopia (green-blind)
#1B4C90
Tritanopia (blue-blind)
#385464
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4392;
/* rgb */ color: rgb(78, 67, 146);
/* oklch */ color: oklch(43.6% 0.125 286.3);
Tailwind
colors: {
  custom: {
    50: '#8477b2',
    500: '#4e4392',
    950: '#000000',
  },
}
SCSS
$custom: #4e4392;
$custom-light: #8477b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4392",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 146
  },
  "hsl": {
    "h": 248.354,
    "s": 37.089,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43611,
    "c": 0.12537,
    "h": 286.3
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#4E4392
secondary
#ACB37E
accent
#CD5BBD
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4392

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

Preview Lab → · Contrast checker → · Palette generator →

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