#4E3EAB#4E3EAB

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

Color values

HEX#4E3EAB
RGBrgb(78, 62, 171)
HSLhsl(249, 47%, 46%)
HSVhsv(249, 64%, 67%)
CMYKcmyk(54.4%, 63.7%, 0%, 32.9%)
CIE-LABlab(33.99, 36.82, -56.35)
CIE-LCHlch(33.99, 67.32, 303.16°)
OKLaboklab(44.65% 0.0405 -0.1617)
OKLCHoklch(44.65% 0.167 284.1)
XYZxyz(12.2130, 8.0045, 39.4217)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EAB #9BAB3E
analogous
#3E65AB #4E3EAB #843EAB
triadic
#4E3EAB #AB4E3E #3EAB4E
tetradic
#4E3EAB #AB3E65 #9BAB3E #3EAB84
square
#4E3EAB #AB3E65 #9BAB3E #3EAB84
split-complementary
#4E3EAB #AB843E #65AB3E
monochromatic
#251D51 #3A2E7E #4E3EAB #6F61C6 #988ED6

Accessibility & contrast

On white

8.07
#4E3EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4E3EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3EAB
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EAB#FFFFFF#000000##FFFFFF
##4E3EAB1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#26596E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e3eab;
/* rgb */ color: rgb(78, 62, 171);
/* oklch */ color: oklch(44.6% 0.167 284.1);
Tailwind
colors: {
  custom: {
    50: '#8874c5',
    500: '#4e3eab',
    950: '#000000',
  },
}
SCSS
$custom: #4e3eab;
$custom-light: #8874c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3eab",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 171
  },
  "hsl": {
    "h": 248.807,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44648,
    "c": 0.16674,
    "h": 284.1
  },
  "luminance": 0.08005
}

Semantic roles & 50–950 ramp

primary
#4E3EAB
secondary
#B8C184
accent
#D651C3
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E3EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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