#4C486F#4C486F

#4C486F is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.3% C 0.064 H 288.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4C486F
RGBrgb(76, 72, 111)
HSLhsl(246, 21%, 36%)
HSVhsv(246, 35%, 44%)
CMYKcmyk(31.5%, 35.1%, 0%, 56.5%)
CIE-LABlab(32.52, 11.49, -21.92)
CIE-LCHlch(32.52, 24.75, 297.65°)
OKLaboklab(42.27% 0.0199 -0.061)
OKLCHoklch(42.27% 0.064 288)
XYZxyz(8.1664, 7.3187, 16.0182)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C486F #6B6F48
analogous
#48576F #4C486F #5F486F
triadic
#4C486F #6F4C48 #486F4C
tetradic
#4C486F #6F4857 #6B6F48 #486F5F
square
#4C486F #6F4857 #6B6F48 #486F5F
split-complementary
#4C486F #6F5F48 #576F48
monochromatic
#191825 #33304A #4C486F #656094 #8783AF

Accessibility & contrast

On white

8.52
#4C486F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4C486F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C486F
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C486F#FFFFFF#000000##FFFFFF
##4C486F1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4D71
Deuteranopia (green-blind)
#3D4C6E
Tritanopia (blue-blind)
#444F56
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c486f;
/* rgb */ color: rgb(76, 72, 111);
/* oklch */ color: oklch(42.3% 0.064 288.0);
Tailwind
colors: {
  custom: {
    50: '#7f7b98',
    500: '#4c486f',
    950: '#000000',
  },
}
SCSS
$custom: #4c486f;
$custom-light: #7f7b98;
$custom-dark: #000000;
JSON
{
  "hex": "#4c486f",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 111
  },
  "hsl": {
    "h": 246.154,
    "s": 21.311,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42271,
    "c": 0.06415,
    "h": 288
  },
  "luminance": 0.07319
}

Semantic roles & 50–950 ramp

primary
#4C486F
secondary
#979B78
accent
#BE6AB5
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090D
muted
#7C7B7E

Preview Lab

Preview with #4C486F

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

Preview Lab → · Contrast checker → · Palette generator →

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