#4E3EAA#4E3EAA

#4E3EAA is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.6% C 0.165 H 284.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#4E3EAA
RGBrgb(78, 62, 170)
HSLhsl(249, 47%, 45%)
HSVhsv(249, 64%, 67%)
CMYKcmyk(54.1%, 63.5%, 0%, 33.3%)
CIE-LABlab(33.91, 36.51, -55.88)
CIE-LCHlch(33.91, 66.75, 303.16°)
OKLaboklab(44.57% 0.0406 -0.1604)
OKLCHoklch(44.57% 0.165 284.2)
XYZxyz(12.1180, 7.9665, 38.9216)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EAA #9AAA3E
analogous
#3E64AA #4E3EAA #843EAA
triadic
#4E3EAA #AA4E3E #3EAA4E
tetradic
#4E3EAA #AA3E64 #9AAA3E #3EAA84
square
#4E3EAA #AA3E64 #9AAA3E #3EAA84
split-complementary
#4E3EAA #AA843E #64AA3E
monochromatic
#251D50 #392E7D #4E3EAA #6F60C5 #988DD5

Accessibility & contrast

On white

8.10
#4E3EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4E3EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3EAA
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EAA#FFFFFF#000000##FFFFFF
##4E3EAA1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#27586E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e3eaa;
/* rgb */ color: rgb(78, 62, 170);
/* oklch */ color: oklch(44.6% 0.165 284.2);
Tailwind
colors: {
  custom: {
    50: '#8874c4',
    500: '#4e3eaa',
    950: '#000000',
  },
}
SCSS
$custom: #4e3eaa;
$custom-light: #8874c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3eaa",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 248.889,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44565,
    "c": 0.16542,
    "h": 284.2
  },
  "luminance": 0.07967
}

Semantic roles & 50–950 ramp

primary
#4E3EAA
secondary
#B7C084
accent
#D652C3
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E3EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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