#4E4AB0#4E4AB0

#4E4AB0 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.158 H 280.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#4E4AB0
RGBrgb(78, 74, 176)
HSLhsl(242, 41%, 49%)
HSVhsv(242, 58%, 69%)
CMYKcmyk(55.7%, 58%, 0%, 31%)
CIE-LABlab(37.21, 31.04, -54.10)
CIE-LCHlch(37.21, 62.38, 299.85°)
OKLaboklab(47.13% 0.028 -0.1551)
OKLCHoklch(47.13% 0.158 280.2)
XYZxyz(13.4247, 9.6510, 42.2213)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AB0 #ACB04A
analogous
#4A79B0 #4E4AB0 #814AB0
triadic
#4E4AB0 #B04E4A #4AB04E
tetradic
#4E4AB0 #B04A79 #ACB04A #4AB081
square
#4E4AB0 #B04A79 #ACB04A #4AB081
split-complementary
#4E4AB0 #B0814A #79B04A
monochromatic
#28265A #3B3885 #4E4AB0 #7673C4 #A09ED6

Accessibility & contrast

On white

7.17
#4E4AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4E4AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4AB0
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AB0#FFFFFF#000000##FFFFFF
##4E4AB01.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#1E6276
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e4ab0;
/* rgb */ color: rgb(78, 74, 176);
/* oklch */ color: oklch(47.1% 0.158 280.2);
Tailwind
colors: {
  custom: {
    50: '#887cc8',
    500: '#4e4ab0',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ab0;
$custom-light: #887cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ab0",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 176
  },
  "hsl": {
    "h": 242.353,
    "s": 40.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4713,
    "c": 0.15758,
    "h": 280.2
  },
  "luminance": 0.09652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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