#4E3CAC#4E3CAC

#4E3CAC is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.4% C 0.171 H 284.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4E3CAC
RGBrgb(78, 60, 172)
HSLhsl(250, 48%, 45%)
HSVhsv(250, 65%, 67%)
CMYKcmyk(54.7%, 65.1%, 0%, 32.5%)
CIE-LABlab(33.62, 38.33, -57.55)
CIE-LCHlch(33.62, 69.15, 303.67°)
OKLaboklab(44.41% 0.0424 -0.1653)
OKLCHoklch(44.41% 0.171 284.4)
XYZxyz(12.2019, 7.8293, 39.8900)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3CAC #9AAC3C
analogous
#3C62AC #4E3CAC #863CAC
triadic
#4E3CAC #AC4E3C #3CAC4E
tetradic
#4E3CAC #AC3C62 #9AAC3C #3CAC86
square
#4E3CAC #AC3C62 #9AAC3C #3CAC86
split-complementary
#4E3CAC #AC863C #62AC3C
monochromatic
#251C51 #392C7F #4E3CAC #6F5EC7 #988CD7

Accessibility & contrast

On white

8.18
#4E3CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4E3CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3CAC
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3CAC#FFFFFF#000000##FFFFFF
##4E3CAC1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#25586E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e3cac;
/* rgb */ color: rgb(78, 60, 172);
/* oklch */ color: oklch(44.4% 0.171 284.4);
Tailwind
colors: {
  custom: {
    50: '#8873c6',
    500: '#4e3cac',
    950: '#000000',
  },
}
SCSS
$custom: #4e3cac;
$custom-light: #8873c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3cac",
  "rgb": {
    "r": 78,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 249.643,
    "s": 48.276,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44406,
    "c": 0.17061,
    "h": 284.4
  },
  "luminance": 0.0783
}

Semantic roles & 50–950 ramp

primary
#4E3CAC
secondary
#B7C182
accent
#D850C2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E3CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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