#4E3EA0#4E3EA0

#4E3EA0 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.8% C 0.152 H 285.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#4E3EA0
RGBrgb(78, 62, 160)
HSLhsl(250, 44%, 44%)
HSVhsv(250, 61%, 63%)
CMYKcmyk(51.2%, 61.2%, 0%, 37.3%)
CIE-LABlab(33.14, 33.37, -51.13)
CIE-LCHlch(33.14, 61.06, 303.13°)
OKLaboklab(43.76% 0.0412 -0.1464)
OKLCHoklch(43.76% 0.152 285.7)
XYZxyz(11.2078, 7.6025, 34.1278)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EA0 #90A03E
analogous
#3E5FA0 #4E3EA0 #7F3EA0
triadic
#4E3EA0 #A04E3E #3EA04E
tetradic
#4E3EA0 #A03E5F #90A03E #3EA07F
square
#4E3EA0 #A03E5F #90A03E #3EA07F
split-complementary
#4E3EA0 #A07F3E #5FA03E
monochromatic
#231C48 #382D74 #4E3EA0 #6C5CC0 #9488D1

Accessibility & contrast

On white

8.33
#4E3EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4E3EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3EA0
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EA0#FFFFFF#000000##FFFFFF
##4E3EA01.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#305569
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e3ea0;
/* rgb */ color: rgb(78, 62, 160);
/* oklch */ color: oklch(43.8% 0.152 285.7);
Tailwind
colors: {
  custom: {
    50: '#8674bd',
    500: '#4e3ea0',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ea0;
$custom-light: #8674bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ea0",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 160
  },
  "hsl": {
    "h": 249.796,
    "s": 44.144,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43758,
    "c": 0.15209,
    "h": 285.7
  },
  "luminance": 0.07603
}

Semantic roles & 50–950 ramp

primary
#4E3EA0
secondary
#B1BB7F
accent
#D454BF
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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