#4C4792#4C4792

#4C4792 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 44.2% C 0.120 H 283.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#4C4792
RGBrgb(76, 71, 146)
HSLhsl(244, 35%, 43%)
HSVhsv(244, 51%, 57%)
CMYKcmyk(47.9%, 51.4%, 0%, 42.7%)
CIE-LABlab(34.23, 22.81, -40.90)
CIE-LCHlch(34.23, 46.83, 299.15°)
OKLaboklab(44.21% 0.0277 -0.1163)
OKLCHoklch(44.21% 0.12 283.4)
XYZxyz(10.4205, 8.1178, 28.2064)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4792 #8D9247
analogous
#476792 #4C4792 #714792
triadic
#4C4792 #924C47 #47924C
tetradic
#4C4792 #924767 #8D9247 #479271
square
#4C4792 #924767 #8D9247 #479271
split-complementary
#4C4792 #927147 #679247
monochromatic
#211F40 #373369 #4C4792 #6863B3 #908CC7

Accessibility & contrast

On white

8.00
#4C4792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4C4792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4792
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4792#FFFFFF#000000##FFFFFF
##4C47921.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255395
Deuteranopia (green-blind)
#214E90
Tritanopia (blue-blind)
#345765
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4c4792;
/* rgb */ color: rgb(76, 71, 146);
/* oklch */ color: oklch(44.2% 0.120 283.4);
Tailwind
colors: {
  custom: {
    50: '#837ab2',
    500: '#4c4792',
    950: '#000000',
  },
}
SCSS
$custom: #4c4792;
$custom-light: #837ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4792",
  "rgb": {
    "r": 76,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 244,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44209,
    "c": 0.11956,
    "h": 283.4
  },
  "luminance": 0.08118
}

Semantic roles & 50–950 ramp

primary
#4C4792
secondary
#AFB382
accent
#CB5DC3
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4C4792

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

Preview Lab → · Contrast checker → · Palette generator →

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