#4E3EAC#4E3EAC

#4E3EAC is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.7% C 0.168 H 283.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#4E3EAC
RGBrgb(78, 62, 172)
HSLhsl(249, 47%, 46%)
HSVhsv(249, 64%, 67%)
CMYKcmyk(54.7%, 64%, 0%, 32.5%)
CIE-LABlab(34.07, 37.14, -56.82)
CIE-LCHlch(34.07, 67.88, 303.17°)
OKLaboklab(44.73% 0.0404 -0.1631)
OKLCHoklch(44.73% 0.168 283.9)
XYZxyz(12.3086, 8.0428, 39.9256)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EAC #9CAC3E
analogous
#3E65AC #4E3EAC #853EAC
triadic
#4E3EAC #AC4E3E #3EAC4E
tetradic
#4E3EAC #AC3E65 #9CAC3E #3EAC85
square
#4E3EAC #AC3E65 #9CAC3E #3EAC85
split-complementary
#4E3EAC #AC853E #65AC3E
monochromatic
#251E52 #3A2E7F #4E3EAC #7061C6 #998ED6

Accessibility & contrast

On white

8.05
#4E3EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4E3EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3EAC
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EAC#FFFFFF#000000##FFFFFF
##4E3EAC1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#25596F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e3eac;
/* rgb */ color: rgb(78, 62, 172);
/* oklch */ color: oklch(44.7% 0.168 283.9);
Tailwind
colors: {
  custom: {
    50: '#8874c6',
    500: '#4e3eac',
    950: '#000000',
  },
}
SCSS
$custom: #4e3eac;
$custom-light: #8874c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3eac",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 248.727,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4473,
    "c": 0.16805,
    "h": 283.9
  },
  "luminance": 0.08044
}

Semantic roles & 50–950 ramp

primary
#4E3EAC
secondary
#B8C185
accent
#D751C3
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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