#4E3AB7#4E3AB7

#4E3AB7 is a mid, vivid blue. Relative luminance 0.081; OKLCH L 45.0% C 0.187 H 283.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#4E3AB7
RGBrgb(78, 58, 183)
HSLhsl(250, 52%, 47%)
HSVhsv(250, 68%, 72%)
CMYKcmyk(57.4%, 68.3%, 0%, 28.2%)
CIE-LABlab(34.12, 42.91, -63.28)
CIE-LCHlch(34.12, 76.46, 304.14°)
OKLaboklab(45.05% 0.0428 -0.1821)
OKLCHoklch(45.05% 0.187 283.2)
XYZxyz(13.1996, 8.0639, 45.6515)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AB7 #A3B73A
analogous
#3A65B7 #4E3AB7 #8D3AB7
triadic
#4E3AB7 #B74E3A #3AB74E
tetradic
#4E3AB7 #B73A65 #A3B73A #3AB78D
square
#4E3AB7 #B73A65 #A3B73A #3AB78D
split-complementary
#4E3AB7 #B78D3A #65B73A
monochromatic
#261D5A #3A2B89 #4E3AB7 #7261CD #9C90DC

Accessibility & contrast

On white

8.04
#4E3AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3AB7
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AB7#FFFFFF#000000##FFFFFF
##4E3AB71.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#004CB5
Tritanopia (blue-blind)
#155A74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e3ab7;
/* rgb */ color: rgb(78, 58, 183);
/* oklch */ color: oklch(45.0% 0.187 283.2);
Tailwind
colors: {
  custom: {
    50: '#8a72ce',
    500: '#4e3ab7',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ab7;
$custom-light: #8a72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ab7",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 249.6,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45045,
    "c": 0.18706,
    "h": 283.2
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#4E3AB7
secondary
#BCC786
accent
#DB4CC4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E3AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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