#4D4996#4D4996

#4D4996 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.122 H 282.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#4D4996
RGBrgb(77, 73, 150)
HSLhsl(243, 35%, 44%)
HSVhsv(243, 51%, 59%)
CMYKcmyk(48.7%, 51.3%, 0%, 41.2%)
CIE-LABlab(35.09, 23.04, -41.94)
CIE-LCHlch(35.09, 47.85, 298.79°)
OKLaboklab(44.96% 0.0268 -0.1193)
OKLCHoklch(44.96% 0.122 282.6)
XYZxyz(10.9465, 8.5443, 29.9207)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4996 #929649
analogous
#496B96 #4D4996 #734996
triadic
#4D4996 #964D49 #49964D
tetradic
#4D4996 #96496B #929649 #499673
square
#4D4996 #96496B #929649 #499673
split-complementary
#4D4996 #967349 #6B9649
monochromatic
#232144 #38356D #4D4996 #6B67B5 #9390C9

Accessibility & contrast

On white

7.75
#4D4996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4D4996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4996
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4996#FFFFFF#000000##FFFFFF
##4D49961.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265599
Deuteranopia (green-blind)
#215094
Tritanopia (blue-blind)
#335A68
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d4996;
/* rgb */ color: rgb(77, 73, 150);
/* oklch */ color: oklch(45.0% 0.122 282.6);
Tailwind
colors: {
  custom: {
    50: '#847bb5',
    500: '#4d4996',
    950: '#000000',
  },
}
SCSS
$custom: #4d4996;
$custom-light: #847bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4996",
  "rgb": {
    "r": 77,
    "g": 73,
    "b": 150
  },
  "hsl": {
    "h": 243.117,
    "s": 34.529,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44962,
    "c": 0.12231,
    "h": 282.6
  },
  "luminance": 0.08545
}

Semantic roles & 50–950 ramp

primary
#4D4996
secondary
#B3B586
accent
#CB5DC5
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4D4996

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

Preview Lab → · Contrast checker → · Palette generator →

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