#4C4880#4C4880

#4C4880 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.2% C 0.091 H 285.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#4C4880
RGBrgb(76, 72, 128)
HSLhsl(244, 28%, 39%)
HSVhsv(244, 44%, 50%)
CMYKcmyk(40.6%, 43.8%, 0%, 49.8%)
CIE-LABlab(33.41, 16.53, -31.13)
CIE-LCHlch(33.41, 35.25, 297.96°)
OKLaboklab(43.24% 0.0238 -0.0877)
OKLCHoklch(43.24% 0.091 285.2)
XYZxyz(9.1930, 7.7294, 21.4254)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4880 #7C8048
analogous
#486080 #4C4880 #684880
triadic
#4C4880 #804C48 #48804C
tetradic
#4C4880 #804860 #7C8048 #488068
square
#4C4880 #804860 #7C8048 #488068
split-complementary
#4C4880 #806848 #608048
monochromatic
#1D1C32 #353259 #4C4880 #6560A5 #8B87BB

Accessibility & contrast

On white

8.25
#4C4880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4C4880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4880
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4880#FFFFFF#000000##FFFFFF
##4C48801.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355082
Deuteranopia (green-blind)
#334D7F
Tritanopia (blue-blind)
#3D535E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c4880;
/* rgb */ color: rgb(76, 72, 128);
/* oklch */ color: oklch(43.2% 0.091 285.2);
Tailwind
colors: {
  custom: {
    50: '#817ba5',
    500: '#4c4880',
    950: '#000000',
  },
}
SCSS
$custom: #4c4880;
$custom-light: #817ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4880",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 128
  },
  "hsl": {
    "h": 244.286,
    "s": 28,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43243,
    "c": 0.09089,
    "h": 285.2
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#4C4880
secondary
#A4A77D
accent
#C463BD
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #4C4880

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

Preview Lab → · Contrast checker → · Palette generator →

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