#4C4C8A#4C4C8A

#4C4C8A is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.7% C 0.100 H 281.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#4C4C8A
RGBrgb(76, 76, 138)
HSLhsl(240, 29%, 42%)
HSVhsv(240, 45%, 54%)
CMYKcmyk(44.9%, 44.9%, 0%, 45.9%)
CIE-LABlab(35.08, 17.04, -34.64)
CIE-LCHlch(35.08, 38.61, 296.19°)
OKLaboklab(44.7% 0.0201 -0.098)
OKLCHoklch(44.7% 0.1 281.6)
XYZxyz(10.1510, 8.5399, 25.1533)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4C8A #8A8A4C
analogous
#4C6B8A #4C4C8A #6B4C8A
triadic
#4C4C8A #8A4C4C #4C8A4C
tetradic
#4C4C8A #8A4C6B #8A8A4C #4C8A6B
square
#4C4C8A #8A4C6B #8A8A4C #4C8A6B
split-complementary
#4C4C8A #8A6B4C #6B8A4C
monochromatic
#21213B #363663 #4C4C8A #6868AC #8F8FC1

Accessibility & contrast

On white

7.75
#4C4C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4C4C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4C8A
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4C8A#FFFFFF#000000##FFFFFF
##4C4C8A1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558C
Deuteranopia (green-blind)
#315089
Tritanopia (blue-blind)
#385964
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4c4c8a;
/* rgb */ color: rgb(76, 76, 138);
/* oklch */ color: oklch(44.7% 0.100 281.6);
Tailwind
colors: {
  custom: {
    50: '#817eac',
    500: '#4c4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #4c4c8a;
$custom-light: #817eac;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4c8a",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 240,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44698,
    "c": 0.09999,
    "h": 281.6
  },
  "luminance": 0.0854
}

Semantic roles & 50–950 ramp

primary
#4C4C8A
secondary
#AEAE84
accent
#C563C5
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4C4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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