#4E3EA6#4E3EA6

#4E3EA6 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.2% C 0.160 H 284.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#4E3EA6
RGBrgb(78, 62, 166)
HSLhsl(249, 46%, 45%)
HSVhsv(249, 63%, 65%)
CMYKcmyk(53%, 62.7%, 0%, 34.9%)
CIE-LABlab(33.60, 35.25, -54.00)
CIE-LCHlch(33.60, 64.49, 303.14°)
OKLaboklab(44.24% 0.0409 -0.1548)
OKLCHoklch(44.24% 0.16 284.8)
XYZxyz(11.7454, 7.8175, 36.9590)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EA6 #96A63E
analogous
#3E62A6 #4E3EA6 #823EA6
triadic
#4E3EA6 #A64E3E #3EA64E
tetradic
#4E3EA6 #A63E62 #96A63E #3EA682
square
#4E3EA6 #A63E62 #96A63E #3EA682
split-complementary
#4E3EA6 #A6823E #62A63E
monochromatic
#241D4D #392D79 #4E3EA6 #6E5EC3 #968BD4

Accessibility & contrast

On white

8.19
#4E3EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4E3EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3EA6
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EA6#FFFFFF#000000##FFFFFF
##4E3EA61.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#2B576C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e3ea6;
/* rgb */ color: rgb(78, 62, 166);
/* oklch */ color: oklch(44.2% 0.160 284.8);
Tailwind
colors: {
  custom: {
    50: '#8774c1',
    500: '#4e3ea6',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ea6;
$custom-light: #8774c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ea6",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 249.231,
    "s": 45.614,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44238,
    "c": 0.16014,
    "h": 284.8
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#4E3EA6
secondary
#B5BE82
accent
#D553C1
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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