#4C4A96#4C4A96

#4C4A96 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.121 H 281.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4C4A96
RGBrgb(76, 74, 150)
HSLhsl(242, 34%, 44%)
HSVhsv(242, 51%, 59%)
CMYKcmyk(49.3%, 50.7%, 0%, 41.2%)
CIE-LABlab(35.27, 22.16, -41.65)
CIE-LCHlch(35.27, 47.18, 298.01°)
OKLaboklab(45.08% 0.0243 -0.1185)
OKLCHoklch(45.08% 0.121 281.6)
XYZxyz(10.9326, 8.6355, 29.9390)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4A96 #94964A
analogous
#4A6E96 #4C4A96 #724A96
triadic
#4C4A96 #964C4A #4A964C
tetradic
#4C4A96 #964A6E #94964A #4A9672
square
#4C4A96 #964A6E #94964A #4A9672
split-complementary
#4C4A96 #96724A #6E964A
monochromatic
#222244 #37366D #4C4A96 #6A68B5 #9391C9

Accessibility & contrast

On white

7.70
#4C4A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4C4A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4A96
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4A96#FFFFFF#000000##FFFFFF
##4C4A961.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275699
Deuteranopia (green-blind)
#225094
Tritanopia (blue-blind)
#315A69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4c4a96;
/* rgb */ color: rgb(76, 74, 150);
/* oklch */ color: oklch(45.1% 0.121 281.6);
Tailwind
colors: {
  custom: {
    50: '#837cb5',
    500: '#4c4a96',
    950: '#000000',
  },
}
SCSS
$custom: #4c4a96;
$custom-light: #837cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4a96",
  "rgb": {
    "r": 76,
    "g": 74,
    "b": 150
  },
  "hsl": {
    "h": 241.579,
    "s": 33.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45078,
    "c": 0.12098,
    "h": 281.6
  },
  "luminance": 0.08636
}

Semantic roles & 50–950 ramp

primary
#4C4A96
secondary
#B4B587
accent
#CA5EC7
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4C4A96

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

Preview Lab → · Contrast checker → · Palette generator →

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