#4E4CAC#4E4CAC

#4E4CAC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.149 H 279.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#4E4CAC
RGBrgb(78, 76, 172)
HSLhsl(241, 39%, 49%)
HSVhsv(241, 56%, 67%)
CMYKcmyk(54.7%, 55.8%, 0%, 32.5%)
CIE-LABlab(37.42, 28.48, -51.39)
CIE-LCHlch(37.42, 58.75, 298.99°)
OKLaboklab(47.2% 0.0258 -0.1471)
OKLCHoklch(47.2% 0.149 279.9)
XYZxyz(13.1704, 9.7663, 40.2128)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4CAC #AAAC4C
analogous
#4C7AAC #4E4CAC #7E4CAC
triadic
#4E4CAC #AC4E4C #4CAC4E
tetradic
#4E4CAC #AC4C7A #AAAC4C #4CAC7E
square
#4E4CAC #AC4C7A #AAAC4C #4CAC7E
split-complementary
#4E4CAC #AC7E4C #7AAC4C
monochromatic
#282657 #3B3982 #4E4CAC #7574C1 #9F9ED4

Accessibility & contrast

On white

7.11
#4E4CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4E4CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4CAC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4CAC#FFFFFF#000000##FFFFFF
##4E4CAC1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5CAF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#226274
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e4cac;
/* rgb */ color: rgb(78, 76, 172);
/* oklch */ color: oklch(47.2% 0.149 279.9);
Tailwind
colors: {
  custom: {
    50: '#877ec5',
    500: '#4e4cac',
    950: '#000000',
  },
}
SCSS
$custom: #4e4cac;
$custom-light: #877ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4cac",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 172
  },
  "hsl": {
    "h": 241.25,
    "s": 38.71,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47196,
    "c": 0.14932,
    "h": 279.9
  },
  "luminance": 0.09767
}

Semantic roles & 50–950 ramp

primary
#4E4CAC
secondary
#C0C193
accent
#CF59CC
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E4CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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