#4E4C9D#4E4C9D

#4E4C9D is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.128 H 281.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#4E4C9D
RGBrgb(78, 76, 157)
HSLhsl(241, 35%, 46%)
HSVhsv(241, 52%, 62%)
CMYKcmyk(50.3%, 51.6%, 0%, 38.4%)
CIE-LABlab(36.41, 23.60, -44.05)
CIE-LCHlch(36.41, 49.98, 298.18°)
OKLaboklab(46.12% 0.025 -0.1255)
OKLCHoklch(46.12% 0.128 281.2)
XYZxyz(11.8103, 9.2223, 33.0495)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C9D #9B9D4C
analogous
#4C729D #4E4C9D #764C9D
triadic
#4E4C9D #9D4E4C #4C9D4E
tetradic
#4E4C9D #9D4C72 #9B9D4C #4C9D76
square
#4E4C9D #9D4C72 #9B9D4C #4C9D76
split-complementary
#4E4C9D #9D764C #729D4C
monochromatic
#25244B #3A3874 #4E4C9D #6F6EB9 #9897CD

Accessibility & contrast

On white

7.38
#4E4C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4E4C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4C9D
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C9D#FFFFFF#000000##FFFFFF
##4E4C9D1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2559A0
Deuteranopia (green-blind)
#1E539B
Tritanopia (blue-blind)
#305E6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e4c9d;
/* rgb */ color: rgb(78, 76, 157);
/* oklch */ color: oklch(46.1% 0.128 281.2);
Tailwind
colors: {
  custom: {
    50: '#857eba',
    500: '#4e4c9d',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c9d;
$custom-light: #857eba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c9d",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 157
  },
  "hsl": {
    "h": 241.481,
    "s": 34.764,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46117,
    "c": 0.12796,
    "h": 281.2
  },
  "luminance": 0.09223
}

Semantic roles & 50–950 ramp

primary
#4E4C9D
secondary
#B8B98C
accent
#CB5DC8
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4E4C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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