#4E4AAC#4E4AAC

#4E4AAC is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.8% C 0.152 H 280.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#4E4AAC
RGBrgb(78, 74, 172)
HSLhsl(242, 40%, 48%)
HSVhsv(242, 57%, 67%)
CMYKcmyk(54.7%, 57%, 0%, 32.5%)
CIE-LABlab(36.92, 29.74, -52.20)
CIE-LCHlch(36.92, 60.07, 299.67°)
OKLaboklab(46.83% 0.028 -0.1495)
OKLCHoklch(46.83% 0.152 280.6)
XYZxyz(13.0347, 9.4950, 40.1676)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AAC #A8AC4A
analogous
#4A77AC #4E4AAC #7F4AAC
triadic
#4E4AAC #AC4E4A #4AAC4E
tetradic
#4E4AAC #AC4A77 #A8AC4A #4AAC7F
square
#4E4AAC #AC4A77 #A8AC4A #4AAC7F
split-complementary
#4E4AAC #AC7F4A #77AC4A
monochromatic
#272556 #3B3881 #4E4AAC #7571C2 #9E9CD4

Accessibility & contrast

On white

7.24
#4E4AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4E4AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4AAC
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AAC#FFFFFF#000000##FFFFFF
##4E4AAC1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#236174
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e4aac;
/* rgb */ color: rgb(78, 74, 172);
/* oklch */ color: oklch(46.8% 0.152 280.6);
Tailwind
colors: {
  custom: {
    50: '#877cc5',
    500: '#4e4aac',
    950: '#000000',
  },
}
SCSS
$custom: #4e4aac;
$custom-light: #877cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4aac",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 172
  },
  "hsl": {
    "h": 242.449,
    "s": 39.837,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46825,
    "c": 0.15206,
    "h": 280.6
  },
  "luminance": 0.09496
}

Semantic roles & 50–950 ramp

primary
#4E4AAC
secondary
#BFC191
accent
#D058CB
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E4AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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