#4E3AB5#4E3AB5

#4E3AB5 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.9% C 0.185 H 283.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#4E3AB5
RGBrgb(78, 58, 181)
HSLhsl(250, 51%, 47%)
HSVhsv(250, 68%, 71%)
CMYKcmyk(56.9%, 68%, 0%, 29%)
CIE-LABlab(33.94, 42.29, -62.38)
CIE-LCHlch(33.94, 75.37, 304.14°)
OKLaboklab(44.87% 0.0431 -0.1795)
OKLCHoklch(44.87% 0.185 283.5)
XYZxyz(12.9929, 7.9812, 44.5630)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AB5 #A1B53A
analogous
#3A64B5 #4E3AB5 #8C3AB5
triadic
#4E3AB5 #B54E3A #3AB54E
tetradic
#4E3AB5 #B53A64 #A1B53A #3AB58C
square
#4E3AB5 #B53A64 #A1B53A #3AB58C
split-complementary
#4E3AB5 #B58C3A #64B53A
monochromatic
#261C58 #3A2B87 #4E3AB5 #7260CC #9B8EDB

Accessibility & contrast

On white

8.09
#4E3AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3AB5
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AB5#FFFFFF#000000##FFFFFF
##4E3AB51.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#004CB3
Tritanopia (blue-blind)
#195A73
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e3ab5;
/* rgb */ color: rgb(78, 58, 181);
/* oklch */ color: oklch(44.9% 0.185 283.5);
Tailwind
colors: {
  custom: {
    50: '#8a72cc',
    500: '#4e3ab5',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ab5;
$custom-light: #8a72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ab5",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 249.756,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44869,
    "c": 0.18455,
    "h": 283.5
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#4E3AB5
secondary
#BBC685
accent
#DB4DC4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #4E3AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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