#4E4AA6#4E4AA6

#4E4AA6 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.144 H 281.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#4E4AA6
RGBrgb(78, 74, 166)
HSLhsl(243, 38%, 47%)
HSVhsv(243, 55%, 65%)
CMYKcmyk(53%, 55.4%, 0%, 34.9%)
CIE-LABlab(36.50, 27.79, -49.30)
CIE-LCHlch(36.50, 56.60, 299.41°)
OKLaboklab(46.38% 0.0278 -0.141)
OKLCHoklch(46.38% 0.144 281.2)
XYZxyz(12.4715, 9.2697, 37.2011)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AA6 #A2A64A
analogous
#4A74A6 #4E4AA6 #7C4AA6
triadic
#4E4AA6 #A64E4A #4AA64E
tetradic
#4E4AA6 #A64A74 #A2A64A #4AA67C
square
#4E4AA6 #A64A74 #A2A64A #4AA67C
split-complementary
#4E4AA6 #A67C4A #74A64A
monochromatic
#262451 #3A377C #4E4AA6 #726FBF #9B99D1

Accessibility & contrast

On white

7.36
#4E4AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4E4AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4AA6
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AA6#FFFFFF#000000##FFFFFF
##4E4AA61.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1159A9
Deuteranopia (green-blind)
#0053A4
Tritanopia (blue-blind)
#295F71
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e4aa6;
/* rgb */ color: rgb(78, 74, 166);
/* oklch */ color: oklch(46.4% 0.144 281.2);
Tailwind
colors: {
  custom: {
    50: '#877cc1',
    500: '#4e4aa6',
    950: '#000000',
  },
}
SCSS
$custom: #4e4aa6;
$custom-light: #877cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4aa6",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 166
  },
  "hsl": {
    "h": 242.609,
    "s": 38.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46377,
    "c": 0.14368,
    "h": 281.2
  },
  "luminance": 0.0927
}

Semantic roles & 50–950 ramp

primary
#4E4AA6
secondary
#BCBE8E
accent
#CE5AC9
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E4AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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