#4D4C8D#4D4C8D

#4D4C8D is a dark, moderate blue. Relative luminance 0.087; OKLCH L 45.0% C 0.104 H 282.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4D4C8D
RGBrgb(77, 76, 141)
HSLhsl(241, 30%, 43%)
HSVhsv(241, 46%, 55%)
CMYKcmyk(45.4%, 46.1%, 0%, 44.7%)
CIE-LABlab(35.34, 18.25, -36.07)
CIE-LCHlch(35.34, 40.42, 296.84°)
OKLaboklab(44.97% 0.0218 -0.1021)
OKLCHoklch(44.97% 0.104 282)
XYZxyz(10.4513, 8.6693, 26.3168)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4C8D #8C8D4C
analogous
#4C6C8D #4D4C8D #6D4C8D
triadic
#4D4C8D #8D4D4C #4C8D4D
tetradic
#4D4C8D #8D4C6C #8C8D4C #4C8D6D
square
#4D4C8D #8D4C6C #8C8D4C #4C8D6D
split-complementary
#4D4C8D #8D6D4C #6C8D4C
monochromatic
#22213D #373765 #4D4C8D #6968AE #9190C3

Accessibility & contrast

On white

7.68
#4D4C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D4C8D
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4C8D#FFFFFF#000000##FFFFFF
##4D4C8D1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558F
Deuteranopia (green-blind)
#2F518C
Tritanopia (blue-blind)
#385965
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d4c8d;
/* rgb */ color: rgb(77, 76, 141);
/* oklch */ color: oklch(45.0% 0.104 282.0);
Tailwind
colors: {
  custom: {
    50: '#827eaf',
    500: '#4d4c8d',
    950: '#000000',
  },
}
SCSS
$custom: #4d4c8d;
$custom-light: #827eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4c8d",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 240.923,
    "s": 29.954,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4497,
    "c": 0.10439,
    "h": 282
  },
  "luminance": 0.0867
}

Semantic roles & 50–950 ramp

primary
#4D4C8D
secondary
#AFAF85
accent
#C662C5
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4D4C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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