#4E4A9F#4E4A9F

#4E4A9F is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.134 H 281.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#4E4A9F
RGBrgb(78, 74, 159)
HSLhsl(243, 36%, 46%)
HSVhsv(243, 53%, 62%)
CMYKcmyk(50.9%, 53.5%, 0%, 37.6%)
CIE-LABlab(36.02, 25.53, -45.87)
CIE-LCHlch(36.02, 52.50, 299.09°)
OKLaboklab(45.87% 0.0275 -0.1309)
OKLCHoklch(45.87% 0.134 281.9)
XYZxyz(11.8468, 9.0198, 33.9109)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A9F #9B9F4A
analogous
#4A709F #4E4A9F #784A9F
triadic
#4E4A9F #9F4E4A #4A9F4E
tetradic
#4E4A9F #9F4A70 #9B9F4A #4A9F78
square
#4E4A9F #9F4A70 #9B9F4A #4A9F78
split-complementary
#4E4A9F #9F784A #709F4A
monochromatic
#25234B #3A3775 #4E4A9F #6F6CBA #9895CE

Accessibility & contrast

On white

7.49
#4E4A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4A9F
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A9F#FFFFFF#000000##FFFFFF
##4E4A9F1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#16529D
Tritanopia (blue-blind)
#2F5D6D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e4a9f;
/* rgb */ color: rgb(78, 74, 159);
/* oklch */ color: oklch(45.9% 0.134 281.9);
Tailwind
colors: {
  custom: {
    50: '#867cbc',
    500: '#4e4a9f',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a9f;
$custom-light: #867cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a9f",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 159
  },
  "hsl": {
    "h": 242.824,
    "s": 36.481,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45869,
    "c": 0.13373,
    "h": 281.9
  },
  "luminance": 0.0902
}

Semantic roles & 50–950 ramp

primary
#4E4A9F
secondary
#B8BA8B
accent
#CC5BC7
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E4A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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