#4C4682#4C4682

#4C4682 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 43.0% C 0.097 H 286.1°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4C4682
RGBrgb(76, 70, 130)
HSLhsl(246, 30%, 39%)
HSVhsv(246, 46%, 51%)
CMYKcmyk(41.5%, 46.2%, 0%, 49%)
CIE-LABlab(32.98, 18.44, -33.06)
CIE-LCHlch(32.98, 37.85, 299.15°)
OKLaboklab(42.95% 0.027 -0.0933)
OKLCHoklch(42.95% 0.097 286.1)
XYZxyz(9.1988, 7.5282, 22.0832)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4682 #7C8246
analogous
#465E82 #4C4682 #6A4682
triadic
#4C4682 #824C46 #46824C
tetradic
#4C4682 #82465E #7C8246 #46826A
square
#4C4682 #82465E #7C8246 #46826A
split-complementary
#4C4682 #826A46 #5E8246
monochromatic
#1D1B32 #35315A #4C4682 #655DA8 #8B85BD

Accessibility & contrast

On white

8.38
#4C4682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4C4682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4682
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4682#FFFFFF#000000##FFFFFF
##4C46821.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304F84
Deuteranopia (green-blind)
#2F4C81
Tritanopia (blue-blind)
#3D525D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c4682;
/* rgb */ color: rgb(76, 70, 130);
/* oklch */ color: oklch(43.0% 0.097 286.1);
Tailwind
colors: {
  custom: {
    50: '#8179a6',
    500: '#4c4682',
    950: '#000000',
  },
}
SCSS
$custom: #4c4682;
$custom-light: #8179a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4682",
  "rgb": {
    "r": 76,
    "g": 70,
    "b": 130
  },
  "hsl": {
    "h": 246,
    "s": 30,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42952,
    "c": 0.09717,
    "h": 286.1
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#4C4682
secondary
#A4A97B
accent
#C662BC
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #4C4682

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

Preview Lab → · Contrast checker → · Palette generator →

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