#4E4AB8#4E4AB8

#4E4AB8 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.8% C 0.168 H 279.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4E4AB8
RGBrgb(78, 74, 184)
HSLhsl(242, 44%, 51%)
HSVhsv(242, 60%, 72%)
CMYKcmyk(57.6%, 59.8%, 0%, 27.8%)
CIE-LABlab(37.80, 33.66, -57.87)
CIE-LCHlch(37.80, 66.94, 300.18°)
OKLaboklab(47.75% 0.0279 -0.1661)
OKLCHoklch(47.75% 0.168 279.5)
XYZxyz(14.2397, 9.9770, 46.5135)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AB8 #B4B84A
analogous
#4A7DB8 #4E4AB8 #854AB8
triadic
#4E4AB8 #B84E4A #4AB84E
tetradic
#4E4AB8 #B84A7D #B4B84A #4AB885
square
#4E4AB8 #B84A7D #B4B84A #4AB885
split-complementary
#4E4AB8 #B8854A #7DB84A
monochromatic
#282661 #3B378D #4E4AB8 #7976C9 #A4A2DA

Accessibility & contrast

On white

7.01
#4E4AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4E4AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4AB8
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AB8#FFFFFF#000000##FFFFFF
##4E4AB81.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#0F647A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e4ab8;
/* rgb */ color: rgb(78, 74, 184);
/* oklch */ color: oklch(47.8% 0.168 279.5);
Tailwind
colors: {
  custom: {
    50: '#897dce',
    500: '#4e4ab8',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ab8;
$custom-light: #897dce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ab8",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 184
  },
  "hsl": {
    "h": 242.182,
    "s": 43.651,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47754,
    "c": 0.16847,
    "h": 279.5
  },
  "luminance": 0.09978
}

Semantic roles & 50–950 ramp

primary
#4E4AB8
secondary
#C6C796
accent
#D354CF
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4E4AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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