#4E4996#4E4996

#4E4996 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.122 H 283.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#4E4996
RGBrgb(78, 73, 150)
HSLhsl(244, 35%, 44%)
HSVhsv(244, 51%, 59%)
CMYKcmyk(48%, 51.3%, 0%, 41.2%)
CIE-LABlab(35.18, 23.28, -41.80)
CIE-LCHlch(35.18, 47.85, 299.12°)
OKLaboklab(45.05% 0.028 -0.1189)
OKLCHoklch(45.05% 0.122 283.3)
XYZxyz(11.0278, 8.5863, 29.9245)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4996 #919649
analogous
#496A96 #4E4996 #744996
triadic
#4E4996 #964E49 #49964E
tetradic
#4E4996 #96496A #919649 #499674
square
#4E4996 #96496A #919649 #499674
split-complementary
#4E4996 #967449 #6A9649
monochromatic
#232144 #39356D #4E4996 #6C67B5 #9490C9

Accessibility & contrast

On white

7.73
#4E4996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4E4996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4996
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4996#FFFFFF#000000##FFFFFF
##4E49961.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265599
Deuteranopia (green-blind)
#225094
Tritanopia (blue-blind)
#355968
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e4996;
/* rgb */ color: rgb(78, 73, 150);
/* oklch */ color: oklch(45.0% 0.122 283.3);
Tailwind
colors: {
  custom: {
    50: '#847bb5',
    500: '#4e4996',
    950: '#000000',
  },
}
SCSS
$custom: #4e4996;
$custom-light: #847bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4996",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 150
  },
  "hsl": {
    "h": 243.896,
    "s": 34.529,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45046,
    "c": 0.12216,
    "h": 283.3
  },
  "luminance": 0.08587
}

Semantic roles & 50–950 ramp

primary
#4E4996
secondary
#B2B586
accent
#CB5DC3
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4996

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

Preview Lab → · Contrast checker → · Palette generator →

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