#4C4680#4C4680

#4C4680 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.8% C 0.094 H 286.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#4C4680
RGBrgb(76, 70, 128)
HSLhsl(246, 29%, 39%)
HSVhsv(246, 45%, 50%)
CMYKcmyk(40.6%, 45.3%, 0%, 49.8%)
CIE-LABlab(32.86, 17.83, -32.00)
CIE-LCHlch(32.86, 36.63, 299.12°)
OKLaboklab(42.83% 0.0266 -0.0903)
OKLCHoklch(42.83% 0.094 286.4)
XYZxyz(9.0658, 7.4750, 21.3830)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4680 #7A8046
analogous
#465D80 #4C4680 #694680
triadic
#4C4680 #804C46 #46804C
tetradic
#4C4680 #80465D #7A8046 #468069
square
#4C4680 #80465D #7A8046 #468069
split-complementary
#4C4680 #806946 #5D8046
monochromatic
#1D1B31 #353058 #4C4680 #645DA6 #8A84BC

Accessibility & contrast

On white

8.42
#4C4680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4C4680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4680
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4680#FFFFFF#000000##FFFFFF
##4C46801.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314F82
Deuteranopia (green-blind)
#304C7F
Tritanopia (blue-blind)
#3E515D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c4680;
/* rgb */ color: rgb(76, 70, 128);
/* oklch */ color: oklch(42.8% 0.094 286.4);
Tailwind
colors: {
  custom: {
    50: '#8179a5',
    500: '#4c4680',
    950: '#000000',
  },
}
SCSS
$custom: #4c4680;
$custom-light: #8179a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4680",
  "rgb": {
    "r": 76,
    "g": 70,
    "b": 128
  },
  "hsl": {
    "h": 246.207,
    "s": 29.293,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42827,
    "c": 0.09411,
    "h": 286.4
  },
  "luminance": 0.07475
}

Semantic roles & 50–950 ramp

primary
#4C4680
secondary
#A3A77A
accent
#C662BB
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #4C4680

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

Preview Lab → · Contrast checker → · Palette generator →

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