#4E3EA7#4E3EA7

#4E3EA7 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.3% C 0.161 H 284.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#4E3EA7
RGBrgb(78, 62, 167)
HSLhsl(249, 46%, 45%)
HSVhsv(249, 63%, 65%)
CMYKcmyk(53.3%, 62.9%, 0%, 34.5%)
CIE-LABlab(33.68, 35.57, -54.47)
CIE-LCHlch(33.68, 65.05, 303.14°)
OKLaboklab(44.32% 0.0408 -0.1562)
OKLCHoklch(44.32% 0.161 284.6)
XYZxyz(11.8375, 7.8543, 37.4440)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EA7 #97A73E
analogous
#3E62A7 #4E3EA7 #833EA7
triadic
#4E3EA7 #A74E3E #3EA74E
tetradic
#4E3EA7 #A73E62 #97A73E #3EA783
square
#4E3EA7 #A73E62 #97A73E #3EA783
split-complementary
#4E3EA7 #A7833E #62A73E
monochromatic
#241D4E #392D7A #4E3EA7 #6E5FC3 #968BD4

Accessibility & contrast

On white

8.17
#4E3EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3EA7
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EA7#FFFFFF#000000##FFFFFF
##4E3EA71.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#2A576C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e3ea7;
/* rgb */ color: rgb(78, 62, 167);
/* oklch */ color: oklch(44.3% 0.161 284.6);
Tailwind
colors: {
  custom: {
    50: '#8874c2',
    500: '#4e3ea7',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ea7;
$custom-light: #8874c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ea7",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 249.143,
    "s": 45.852,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4432,
    "c": 0.16146,
    "h": 284.6
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#4E3EA7
secondary
#B6BF82
accent
#D652C2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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