#4E4D9C#4E4D9C

#4E4D9C is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.125 H 280.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4E4D9C
RGBrgb(78, 77, 156)
HSLhsl(241, 34%, 46%)
HSVhsv(241, 51%, 61%)
CMYKcmyk(50%, 50.6%, 0%, 38.8%)
CIE-LABlab(36.61, 22.64, -43.13)
CIE-LCHlch(36.61, 48.71, 297.70°)
OKLaboklab(46.25% 0.0237 -0.1228)
OKLCHoklch(46.25% 0.125 280.9)
XYZxyz(11.7947, 9.3271, 32.6249)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D9C #9B9C4D
analogous
#4D739C #4E4D9C #754D9C
triadic
#4E4D9C #9C4E4D #4D9C4E
tetradic
#4E4D9C #9C4D73 #9B9C4D #4D9C75
square
#4E4D9C #9C4D73 #9B9C4D #4D9C75
split-complementary
#4E4D9C #9C754D #739C4D
monochromatic
#25254A #3A3973 #4E4D9C #6F6FB8 #9897CC

Accessibility & contrast

On white

7.33
#4E4D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4E4D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4D9C
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D9C#FFFFFF#000000##FFFFFF
##4E4D9C1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28599F
Deuteranopia (green-blind)
#22539A
Tritanopia (blue-blind)
#315E6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e4d9c;
/* rgb */ color: rgb(78, 77, 156);
/* oklch */ color: oklch(46.2% 0.125 280.9);
Tailwind
colors: {
  custom: {
    50: '#857eba',
    500: '#4e4d9c',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d9c;
$custom-light: #857eba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d9c",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 156
  },
  "hsl": {
    "h": 240.759,
    "s": 33.906,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46245,
    "c": 0.12505,
    "h": 280.9
  },
  "luminance": 0.09328
}

Semantic roles & 50–950 ramp

primary
#4E4D9C
secondary
#B8B88C
accent
#CA5EC9
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E4D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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