#4D4A96#4D4A96

#4D4A96 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.121 H 282.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4D4A96
RGBrgb(77, 74, 150)
HSLhsl(242, 34%, 44%)
HSVhsv(242, 51%, 59%)
CMYKcmyk(48.7%, 50.7%, 0%, 41.2%)
CIE-LABlab(35.35, 22.40, -41.52)
CIE-LCHlch(35.35, 47.17, 298.35°)
OKLaboklab(45.16% 0.0255 -0.1181)
OKLCHoklch(45.16% 0.121 282.2)
XYZxyz(11.0127, 8.6768, 29.9428)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4A96 #93964A
analogous
#4A6D96 #4D4A96 #734A96
triadic
#4D4A96 #964D4A #4A964D
tetradic
#4D4A96 #964A6D #93964A #4A9673
square
#4D4A96 #964A6D #93964A #4A9673
split-complementary
#4D4A96 #96734A #6D964A
monochromatic
#232244 #38366D #4D4A96 #6B68B5 #9491C9

Accessibility & contrast

On white

7.68
#4D4A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4D4A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4A96
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4A96#FFFFFF#000000##FFFFFF
##4D4A961.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285699
Deuteranopia (green-blind)
#235194
Tritanopia (blue-blind)
#335A69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d4a96;
/* rgb */ color: rgb(77, 74, 150);
/* oklch */ color: oklch(45.2% 0.121 282.2);
Tailwind
colors: {
  custom: {
    50: '#847cb5',
    500: '#4d4a96',
    950: '#000000',
  },
}
SCSS
$custom: #4d4a96;
$custom-light: #847cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4a96",
  "rgb": {
    "r": 77,
    "g": 74,
    "b": 150
  },
  "hsl": {
    "h": 242.368,
    "s": 33.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45159,
    "c": 0.12083,
    "h": 282.2
  },
  "luminance": 0.08677
}

Semantic roles & 50–950 ramp

primary
#4D4A96
secondary
#B3B587
accent
#CA5EC6
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4D4A96

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

Preview Lab → · Contrast checker → · Palette generator →

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