#4E4AA2#4E4AA2

#4E4AA2 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.1% C 0.138 H 281.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#4E4AA2
RGBrgb(78, 74, 162)
HSLhsl(243, 37%, 46%)
HSVhsv(243, 54%, 64%)
CMYKcmyk(51.9%, 54.3%, 0%, 36.5%)
CIE-LABlab(36.22, 26.49, -47.35)
CIE-LCHlch(36.22, 54.26, 299.23°)
OKLaboklab(46.09% 0.0277 -0.1352)
OKLCHoklch(46.09% 0.138 281.6)
XYZxyz(12.1103, 9.1252, 35.2986)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AA2 #9EA24A
analogous
#4A72A2 #4E4AA2 #7A4AA2
triadic
#4E4AA2 #A24E4A #4AA24E
tetradic
#4E4AA2 #A24A72 #9EA24A #4AA27A
square
#4E4AA2 #A24A72 #9EA24A #4AA27A
split-complementary
#4E4AA2 #A27A4A #72A24A
monochromatic
#26244E #3A3778 #4E4AA2 #716DBC #9A97CF

Accessibility & contrast

On white

7.43
#4E4AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4E4AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4AA2
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AA2#FFFFFF#000000##FFFFFF
##4E4AA21.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1958A5
Deuteranopia (green-blind)
#0E52A0
Tritanopia (blue-blind)
#2D5E6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e4aa2;
/* rgb */ color: rgb(78, 74, 162);
/* oklch */ color: oklch(46.1% 0.138 281.6);
Tailwind
colors: {
  custom: {
    50: '#867cbe',
    500: '#4e4aa2',
    950: '#000000',
  },
}
SCSS
$custom: #4e4aa2;
$custom-light: #867cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4aa2",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 242.727,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46085,
    "c": 0.13801,
    "h": 281.6
  },
  "luminance": 0.09126
}

Semantic roles & 50–950 ramp

primary
#4E4AA2
secondary
#BABC8C
accent
#CD5BC8
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E4AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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