#4E4C9A#4E4C9A

#4E4C9A is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.124 H 281.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#4E4C9A
RGBrgb(78, 76, 154)
HSLhsl(242, 34%, 45%)
HSVhsv(242, 51%, 60%)
CMYKcmyk(49.4%, 50.6%, 0%, 39.6%)
CIE-LABlab(36.22, 22.64, -42.55)
CIE-LCHlch(36.22, 48.20, 298.01°)
OKLaboklab(45.91% 0.0247 -0.1211)
OKLCHoklch(45.91% 0.124 281.5)
XYZxyz(11.5573, 9.1211, 31.7172)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C9A #989A4C
analogous
#4C719A #4E4C9A #754C9A
triadic
#4E4C9A #9A4E4C #4C9A4E
tetradic
#4E4C9A #9A4C71 #989A4C #4C9A75
square
#4E4C9A #9A4C71 #989A4C #4C9A75
split-complementary
#4E4C9A #9A754C #719A4C
monochromatic
#242448 #393871 #4E4C9A #6E6CB7 #9795CB

Accessibility & contrast

On white

7.44
#4E4C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4E4C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4C9A
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C9A#FFFFFF#000000##FFFFFF
##4E4C9A1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28589D
Deuteranopia (green-blind)
#235298
Tritanopia (blue-blind)
#325D6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e4c9a;
/* rgb */ color: rgb(78, 76, 154);
/* oklch */ color: oklch(45.9% 0.124 281.5);
Tailwind
colors: {
  custom: {
    50: '#857eb8',
    500: '#4e4c9a',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c9a;
$custom-light: #857eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c9a",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 154
  },
  "hsl": {
    "h": 241.538,
    "s": 33.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4591,
    "c": 0.12358,
    "h": 281.5
  },
  "luminance": 0.09122
}

Semantic roles & 50–950 ramp

primary
#4E4C9A
secondary
#B6B78B
accent
#CA5EC7
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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