#4E4B9A#4E4B9A

#4E4B9A is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.125 H 282.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#4E4B9A
RGBrgb(78, 75, 154)
HSLhsl(242, 34%, 45%)
HSVhsv(242, 51%, 60%)
CMYKcmyk(49.4%, 51.3%, 0%, 39.6%)
CIE-LABlab(35.95, 23.28, -42.97)
CIE-LCHlch(35.95, 48.87, 298.45°)
OKLaboklab(45.71% 0.0259 -0.1223)
OKLCHoklch(45.71% 0.125 282)
XYZxyz(11.4889, 8.9844, 31.6944)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4B9A #979A4B
analogous
#4B709A #4E4B9A #754B9A
triadic
#4E4B9A #9A4E4B #4B9A4E
tetradic
#4E4B9A #9A4B70 #979A4B #4B9A75
square
#4E4B9A #9A4B70 #979A4B #4B9A75
split-complementary
#4E4B9A #9A754B #709A4B
monochromatic
#242348 #393771 #4E4B9A #6E6BB7 #9694CB

Accessibility & contrast

On white

7.51
#4E4B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4E4B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4B9A
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4B9A#FFFFFF#000000##FFFFFF
##4E4B9A1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26579D
Deuteranopia (green-blind)
#215298
Tritanopia (blue-blind)
#325C6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e4b9a;
/* rgb */ color: rgb(78, 75, 154);
/* oklch */ color: oklch(45.7% 0.125 282.0);
Tailwind
colors: {
  custom: {
    50: '#857db8',
    500: '#4e4b9a',
    950: '#000000',
  },
}
SCSS
$custom: #4e4b9a;
$custom-light: #857db8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4b9a",
  "rgb": {
    "r": 78,
    "g": 75,
    "b": 154
  },
  "hsl": {
    "h": 242.278,
    "s": 34.498,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45713,
    "c": 0.12504,
    "h": 282
  },
  "luminance": 0.08985
}

Semantic roles & 50–950 ramp

primary
#4E4B9A
secondary
#B6B78A
accent
#CB5DC6
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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