#4E4AB4#4E4AB4

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

Color values

HEX#4E4AB4
RGBrgb(78, 74, 180)
HSLhsl(242, 42%, 50%)
HSVhsv(242, 59%, 71%)
CMYKcmyk(56.7%, 58.9%, 0%, 29.4%)
CIE-LABlab(37.50, 32.35, -55.99)
CIE-LCHlch(37.50, 64.67, 300.02°)
OKLaboklab(47.44% 0.0279 -0.1606)
OKLCHoklch(47.44% 0.163 279.9)
XYZxyz(13.8263, 9.8116, 44.3364)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AB4 #B0B44A
analogous
#4A7BB4 #4E4AB4 #834AB4
triadic
#4E4AB4 #B44E4A #4AB44E
tetradic
#4E4AB4 #B44A7B #B0B44A #4AB483
square
#4E4AB4 #B44A7B #B0B44A #4AB483
split-complementary
#4E4AB4 #B4834A #7BB44A
monochromatic
#28265D #3B3889 #4E4AB4 #7875C6 #A2A0D8

Accessibility & contrast

On white

7.09
#4E4AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4E4AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4AB4
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AB4#FFFFFF#000000##FFFFFF
##4E4AB41.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#176378
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e4ab4;
/* rgb */ color: rgb(78, 74, 180);
/* oklch */ color: oklch(47.4% 0.163 279.9);
Tailwind
colors: {
  custom: {
    50: '#897dcb',
    500: '#4e4ab4',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ab4;
$custom-light: #897dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ab4",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 180
  },
  "hsl": {
    "h": 242.264,
    "s": 41.732,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4744,
    "c": 0.16305,
    "h": 279.9
  },
  "luminance": 0.09813
}

Semantic roles & 50–950 ramp

primary
#4E4AB4
secondary
#C3C595
accent
#D256CD
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E4AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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