#4E4AB2#4E4AB2

#4E4AB2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.3% C 0.160 H 280.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#4E4AB2
RGBrgb(78, 74, 178)
HSLhsl(242, 41%, 49%)
HSVhsv(242, 58%, 70%)
CMYKcmyk(56.2%, 58.4%, 0%, 30.2%)
CIE-LABlab(37.35, 31.70, -55.05)
CIE-LCHlch(37.35, 63.52, 299.93°)
OKLaboklab(47.28% 0.028 -0.1579)
OKLCHoklch(47.28% 0.16 280)
XYZxyz(13.6240, 9.7307, 43.2712)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AB2 #AEB24A
analogous
#4A7AB2 #4E4AB2 #824AB2
triadic
#4E4AB2 #B24E4A #4AB24E
tetradic
#4E4AB2 #B24A7A #AEB24A #4AB282
square
#4E4AB2 #B24A7A #AEB24A #4AB282
split-complementary
#4E4AB2 #B2824A #7AB24A
monochromatic
#28265C #3B3887 #4E4AB2 #7774C5 #A19FD7

Accessibility & contrast

On white

7.13
#4E4AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4AB2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AB2#FFFFFF#000000##FFFFFF
##4E4AB21.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#1B6377
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e4ab2;
/* rgb */ color: rgb(78, 74, 178);
/* oklch */ color: oklch(47.3% 0.160 280.0);
Tailwind
colors: {
  custom: {
    50: '#887cca',
    500: '#4e4ab2',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ab2;
$custom-light: #887cca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ab2",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 242.308,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47284,
    "c": 0.16033,
    "h": 280
  },
  "luminance": 0.09732
}

Semantic roles & 50–950 ramp

primary
#4E4AB2
secondary
#C2C494
accent
#D157CC
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E4AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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