#4E3ABA#4E3ABA

#4E3ABA is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.3% C 0.191 H 282.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#4E3ABA
RGBrgb(78, 58, 186)
HSLhsl(249, 52%, 48%)
HSVhsv(249, 69%, 73%)
CMYKcmyk(58.1%, 68.8%, 0%, 27.1%)
CIE-LABlab(34.38, 43.84, -64.63)
CIE-LCHlch(34.38, 78.10, 304.15°)
OKLaboklab(45.31% 0.0423 -0.1861)
OKLCHoklch(45.31% 0.191 282.8)
XYZxyz(13.5151, 8.1901, 47.3135)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3ABA #A6BA3A
analogous
#3A66BA #4E3ABA #8E3ABA
triadic
#4E3ABA #BA4E3A #3ABA4E
tetradic
#4E3ABA #BA3A66 #A6BA3A #3ABA8E
square
#4E3ABA #BA3A66 #A6BA3A #3ABA8E
split-complementary
#4E3ABA #BA8E3A #66BA3A
monochromatic
#271D5D #3A2B8B #4E3ABA #7463CE #9D92DD

Accessibility & contrast

On white

7.96
#4E3ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4E3ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3ABA
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3ABA#FFFFFF#000000##FFFFFF
##4E3ABA1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#0F5C75
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e3aba;
/* rgb */ color: rgb(78, 58, 186);
/* oklch */ color: oklch(45.3% 0.191 282.8);
Tailwind
colors: {
  custom: {
    50: '#8b72d0',
    500: '#4e3aba',
    950: '#000000',
  },
}
SCSS
$custom: #4e3aba;
$custom-light: #8b72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3aba",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 249.375,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45312,
    "c": 0.19081,
    "h": 282.8
  },
  "luminance": 0.08191
}

Semantic roles & 50–950 ramp

primary
#4E3ABA
secondary
#BEC888
accent
#DC4CC5
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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