#4E4A9A#4E4A9A

#4E4A9A is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.127 H 282.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#4E4A9A
RGBrgb(78, 74, 154)
HSLhsl(243, 35%, 45%)
HSVhsv(243, 52%, 60%)
CMYKcmyk(49.4%, 51.9%, 0%, 39.6%)
CIE-LABlab(35.69, 23.92, -43.39)
CIE-LCHlch(35.69, 49.55, 298.87°)
OKLaboklab(45.52% 0.0271 -0.1236)
OKLCHoklch(45.52% 0.127 282.4)
XYZxyz(11.4216, 8.8498, 31.6719)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A9A #969A4A
analogous
#4A6E9A #4E4A9A #764A9A
triadic
#4E4A9A #9A4E4A #4A9A4E
tetradic
#4E4A9A #9A4A6E #969A4A #4A9A76
square
#4E4A9A #9A4A6E #969A4A #4A9A76
split-complementary
#4E4A9A #9A764A #6E9A4A
monochromatic
#242247 #393671 #4E4A9A #6E6AB7 #9693CB

Accessibility & contrast

On white

7.58
#4E4A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4E4A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A9A
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A9A#FFFFFF#000000##FFFFFF
##4E4A9A1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24579D
Deuteranopia (green-blind)
#1E5198
Tritanopia (blue-blind)
#335B6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e4a9a;
/* rgb */ color: rgb(78, 74, 154);
/* oklch */ color: oklch(45.5% 0.127 282.4);
Tailwind
colors: {
  custom: {
    50: '#857cb8',
    500: '#4e4a9a',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a9a;
$custom-light: #857cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a9a",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 154
  },
  "hsl": {
    "h": 243,
    "s": 35.088,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45517,
    "c": 0.12652,
    "h": 282.4
  },
  "luminance": 0.0885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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