#4D4C8A#4D4C8A

#4D4C8A is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.8% C 0.100 H 282.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#4D4C8A
RGBrgb(77, 76, 138)
HSLhsl(241, 29%, 42%)
HSVhsv(241, 45%, 54%)
CMYKcmyk(44.2%, 44.9%, 0%, 45.9%)
CIE-LABlab(35.17, 17.31, -34.51)
CIE-LCHlch(35.17, 38.61, 296.64°)
OKLaboklab(44.78% 0.0213 -0.0975)
OKLCHoklch(44.78% 0.1 282.3)
XYZxyz(10.2311, 8.5812, 25.1571)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4C8A #898A4C
analogous
#4C6A8A #4D4C8A #6C4C8A
triadic
#4D4C8A #8A4D4C #4C8A4D
tetradic
#4D4C8A #8A4C6A #898A4C #4C8A6C
square
#4D4C8A #8A4C6A #898A4C #4C8A6C
split-complementary
#4D4C8A #8A6C4C #6A8A4C
monochromatic
#21213B #373663 #4D4C8A #6968AC #908FC1

Accessibility & contrast

On white

7.73
#4D4C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4D4C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4C8A
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4C8A#FFFFFF#000000##FFFFFF
##4D4C8A1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558C
Deuteranopia (green-blind)
#325189
Tritanopia (blue-blind)
#3A5964
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d4c8a;
/* rgb */ color: rgb(77, 76, 138);
/* oklch */ color: oklch(44.8% 0.100 282.3);
Tailwind
colors: {
  custom: {
    50: '#827eac',
    500: '#4d4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #4d4c8a;
$custom-light: #827eac;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4c8a",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 240.968,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44781,
    "c": 0.09984,
    "h": 282.3
  },
  "luminance": 0.08582
}

Semantic roles & 50–950 ramp

primary
#4D4C8A
secondary
#ADAE84
accent
#C563C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4D4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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