#4E3AB6#4E3AB6

#4E3AB6 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 45.0% C 0.186 H 283.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4E3AB6
RGBrgb(78, 58, 182)
HSLhsl(250, 52%, 47%)
HSVhsv(250, 68%, 71%)
CMYKcmyk(57.1%, 68.1%, 0%, 28.6%)
CIE-LABlab(34.03, 42.60, -62.83)
CIE-LCHlch(34.03, 75.91, 304.14°)
OKLaboklab(44.96% 0.0429 -0.1808)
OKLCHoklch(44.96% 0.186 283.4)
XYZxyz(13.0958, 8.0224, 45.1053)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AB6 #A2B63A
analogous
#3A64B6 #4E3AB6 #8C3AB6
triadic
#4E3AB6 #B64E3A #3AB64E
tetradic
#4E3AB6 #B63A64 #A2B63A #3AB68C
square
#4E3AB6 #B63A64 #A2B63A #3AB68C
split-complementary
#4E3AB6 #B68C3A #64B63A
monochromatic
#261C59 #3A2B88 #4E3AB6 #7261CD #9B8FDB

Accessibility & contrast

On white

8.06
#4E3AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3AB6
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AB6#FFFFFF#000000##FFFFFF
##4E3AB61.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#004CB4
Tritanopia (blue-blind)
#175A73
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e3ab6;
/* rgb */ color: rgb(78, 58, 182);
/* oklch */ color: oklch(45.0% 0.186 283.4);
Tailwind
colors: {
  custom: {
    50: '#8a72cd',
    500: '#4e3ab6',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ab6;
$custom-light: #8a72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ab6",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 182
  },
  "hsl": {
    "h": 249.677,
    "s": 51.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44957,
    "c": 0.18581,
    "h": 283.4
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#4E3AB6
secondary
#BCC686
accent
#DB4DC4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E3AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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