#4E3AC0#4E3AC0

#4E3AC0 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.9% C 0.198 H 282.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4E3AC0
RGBrgb(78, 58, 192)
HSLhsl(249, 54%, 49%)
HSVhsv(249, 70%, 75%)
CMYKcmyk(59.4%, 69.8%, 0%, 24.7%)
CIE-LABlab(34.90, 45.69, -67.30)
CIE-LCHlch(34.90, 81.34, 304.17°)
OKLaboklab(45.85% 0.0413 -0.1939)
OKLCHoklch(45.85% 0.198 282)
XYZxyz(14.1664, 8.4506, 50.7436)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AC0 #ACC03A
analogous
#3A69C0 #4E3AC0 #913AC0
triadic
#4E3AC0 #C04E3A #3AC04E
tetradic
#4E3AC0 #C03A69 #ACC03A #3AC091
square
#4E3AC0 #C03A69 #ACC03A #3AC091
split-complementary
#4E3AC0 #C0913A #69C03A
monochromatic
#281E62 #3B2C91 #4E3AC0 #7666D1 #A095DF

Accessibility & contrast

On white

7.81
#4E3AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4E3AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3AC0
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AC0#FFFFFF#000000##FFFFFF
##4E3AC01.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e3ac0;
/* rgb */ color: rgb(78, 58, 192);
/* oklch */ color: oklch(45.9% 0.198 282.0);
Tailwind
colors: {
  custom: {
    50: '#8c72d4',
    500: '#4e3ac0',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ac0;
$custom-light: #8c72d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ac0",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 192
  },
  "hsl": {
    "h": 248.955,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45853,
    "c": 0.19821,
    "h": 282
  },
  "luminance": 0.08452
}

Semantic roles & 50–950 ramp

primary
#4E3AC0
secondary
#C1CA8B
accent
#DD4BC7
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4E3AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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