#4D4591#4D4591

#4D4591 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.121 H 285.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4D4591
RGBrgb(77, 69, 145)
HSLhsl(246, 36%, 42%)
HSVhsv(246, 52%, 57%)
CMYKcmyk(46.9%, 52.4%, 0%, 43.1%)
CIE-LABlab(33.73, 24.02, -41.08)
CIE-LCHlch(33.73, 47.59, 300.32°)
OKLaboklab(43.84% 0.0314 -0.1168)
OKLCHoklch(43.84% 0.121 285)
XYZxyz(10.2980, 7.8779, 27.7606)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4591 #899145
analogous
#456391 #4D4591 #734591
triadic
#4D4591 #914D45 #45914D
tetradic
#4D4591 #914563 #899145 #459173
square
#4D4591 #914563 #899145 #459173
split-complementary
#4D4591 #917345 #639145
monochromatic
#211E3E #373168 #4D4591 #6960B3 #9089C7

Accessibility & contrast

On white

8.15
#4D4591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4D4591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4591
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4591#FFFFFF#000000##FFFFFF
##4D45911.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225294
Deuteranopia (green-blind)
#1F4D8F
Tritanopia (blue-blind)
#375564
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d4591;
/* rgb */ color: rgb(77, 69, 145);
/* oklch */ color: oklch(43.8% 0.121 285.0);
Tailwind
colors: {
  custom: {
    50: '#8379b2',
    500: '#4d4591',
    950: '#000000',
  },
}
SCSS
$custom: #4d4591;
$custom-light: #8379b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4591",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 246.316,
    "s": 35.514,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43835,
    "c": 0.12099,
    "h": 285
  },
  "luminance": 0.07878
}

Semantic roles & 50–950 ramp

primary
#4D4591
secondary
#ADB280
accent
#CC5CC0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4D4591

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

Preview Lab → · Contrast checker → · Palette generator →

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