#4C4E84#4C4E84

#4C4E84 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.8% C 0.088 H 280.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#4C4E84
RGBrgb(76, 78, 132)
HSLhsl(238, 27%, 41%)
HSVhsv(238, 42%, 52%)
CMYKcmyk(42.4%, 40.9%, 0%, 48.2%)
CIE-LABlab(35.30, 13.87, -30.61)
CIE-LCHlch(35.30, 33.61, 294.37°)
OKLaboklab(44.76% 0.0162 -0.0862)
OKLCHoklch(44.76% 0.088 280.6)
XYZxyz(9.8685, 8.6508, 22.9751)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E84 #84824C
analogous
#4C6A84 #4C4E84 #664C84
triadic
#4C4E84 #844C4E #4E844C
tetradic
#4C4E84 #844C6A #84824C #4C8466
square
#4C4E84 #844C6A #84824C #4C8466
split-complementary
#4C4E84 #84664C #6A844C
monochromatic
#1F2036 #36375D #4C4E84 #6668A7 #8D8FBD

Accessibility & contrast

On white

7.69
#4C4E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4C4E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E84
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E84#FFFFFF#000000##FFFFFF
##4C4E841.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5586
Deuteranopia (green-blind)
#385183
Tritanopia (blue-blind)
#3B5962
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4c4e84;
/* rgb */ color: rgb(76, 78, 132);
/* oklch */ color: oklch(44.8% 0.088 280.6);
Tailwind
colors: {
  custom: {
    50: '#817fa8',
    500: '#4c4e84',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e84;
$custom-light: #817fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e84",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 132
  },
  "hsl": {
    "h": 237.857,
    "s": 26.923,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44756,
    "c": 0.08769,
    "h": 280.6
  },
  "luminance": 0.08651
}

Semantic roles & 50–950 ramp

primary
#4C4E84
secondary
#AAA882
accent
#C065C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4C4E84

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

Preview Lab → · Contrast checker → · Palette generator →

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