#4E3DAB#4E3DAB

#4E3DAB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.5% C 0.168 H 284.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4E3DAB
RGBrgb(78, 61, 171)
HSLhsl(249, 47%, 45%)
HSVhsv(249, 64%, 67%)
CMYKcmyk(54.4%, 64.3%, 0%, 32.9%)
CIE-LABlab(33.77, 37.42, -56.72)
CIE-LCHlch(33.77, 67.95, 303.42°)
OKLaboklab(44.48% 0.0415 -0.1628)
OKLCHoklch(44.48% 0.168 284.3)
XYZxyz(12.1591, 7.8968, 39.4037)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3DAB #9AAB3D
analogous
#3D63AB #4E3DAB #853DAB
triadic
#4E3DAB #AB4E3D #3DAB4E
tetradic
#4E3DAB #AB3D63 #9AAB3D #3DAB85
square
#4E3DAB #AB3D63 #9AAB3D #3DAB85
split-complementary
#4E3DAB #AB853D #63AB3D
monochromatic
#251D51 #392D7E #4E3DAB #6F5FC6 #988CD6

Accessibility & contrast

On white

8.14
#4E3DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4E3DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3DAB
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3DAB#FFFFFF#000000##FFFFFF
##4E3DAB1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#26586E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e3dab;
/* rgb */ color: rgb(78, 61, 171);
/* oklch */ color: oklch(44.5% 0.168 284.3);
Tailwind
colors: {
  custom: {
    50: '#8873c5',
    500: '#4e3dab',
    950: '#000000',
  },
}
SCSS
$custom: #4e3dab;
$custom-light: #8873c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3dab",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 171
  },
  "hsl": {
    "h": 249.273,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44484,
    "c": 0.16803,
    "h": 284.3
  },
  "luminance": 0.07897
}

Semantic roles & 50–950 ramp

primary
#4E3DAB
secondary
#B7C183
accent
#D751C2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E3DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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