#4E4AAF#4E4AAF

#4E4AAF is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.1% C 0.156 H 280.3°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#4E4AAF
RGBrgb(78, 74, 175)
HSLhsl(242, 41%, 49%)
HSVhsv(242, 58%, 69%)
CMYKcmyk(55.4%, 57.7%, 0%, 31.4%)
CIE-LABlab(37.14, 30.72, -53.63)
CIE-LCHlch(37.14, 61.80, 299.80°)
OKLaboklab(47.05% 0.028 -0.1537)
OKLCHoklch(47.05% 0.156 280.3)
XYZxyz(13.3261, 9.6116, 41.7021)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AAF #ABAF4A
analogous
#4A79AF #4E4AAF #814AAF
triadic
#4E4AAF #AF4E4A #4AAF4E
tetradic
#4E4AAF #AF4A79 #ABAF4A #4AAF81
square
#4E4AAF #AF4A79 #ABAF4A #4AAF81
split-complementary
#4E4AAF #AF814A #79AF4A
monochromatic
#282659 #3B3884 #4E4AAF #7673C4 #A09ED6

Accessibility & contrast

On white

7.19
#4E4AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4E4AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4AAF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AAF#FFFFFF#000000##FFFFFF
##4E4AAF1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#1F6275
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e4aaf;
/* rgb */ color: rgb(78, 74, 175);
/* oklch */ color: oklch(47.1% 0.156 280.3);
Tailwind
colors: {
  custom: {
    50: '#887cc8',
    500: '#4e4aaf',
    950: '#000000',
  },
}
SCSS
$custom: #4e4aaf;
$custom-light: #887cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4aaf",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 242.376,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47053,
    "c": 0.15621,
    "h": 280.3
  },
  "luminance": 0.09612
}

Semantic roles & 50–950 ramp

primary
#4E4AAF
secondary
#C1C292
accent
#D057CC
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E4AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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