#4C4591#4C4591

#4C4591 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.121 H 284.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4C4591
RGBrgb(76, 69, 145)
HSLhsl(246, 36%, 42%)
HSVhsv(246, 52%, 57%)
CMYKcmyk(47.6%, 52.4%, 0%, 43.1%)
CIE-LABlab(33.64, 23.78, -41.23)
CIE-LCHlch(33.64, 47.59, 299.97°)
OKLaboklab(43.75% 0.0301 -0.1173)
OKLCHoklch(43.75% 0.121 284.4)
XYZxyz(10.2179, 7.8366, 27.7568)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4591 #8A9145
analogous
#456491 #4C4591 #724591
triadic
#4C4591 #914C45 #45914C
tetradic
#4C4591 #914564 #8A9145 #459172
square
#4C4591 #914564 #8A9145 #459172
split-complementary
#4C4591 #917245 #649145
monochromatic
#211E3E #363168 #4C4591 #6860B3 #8F89C7

Accessibility & contrast

On white

8.18
#4C4591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4C4591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4591
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4591#FFFFFF#000000##FFFFFF
##4C45911.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225194
Deuteranopia (green-blind)
#1E4D8F
Tritanopia (blue-blind)
#355564
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c4591;
/* rgb */ color: rgb(76, 69, 145);
/* oklch */ color: oklch(43.7% 0.121 284.4);
Tailwind
colors: {
  custom: {
    50: '#8378b2',
    500: '#4c4591',
    950: '#000000',
  },
}
SCSS
$custom: #4c4591;
$custom-light: #8378b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4591",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 245.526,
    "s": 35.514,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43749,
    "c": 0.1211,
    "h": 284.4
  },
  "luminance": 0.07837
}

Semantic roles & 50–950 ramp

primary
#4C4591
secondary
#AEB280
accent
#CC5CC1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4C4591

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

Preview Lab → · Contrast checker → · Palette generator →

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