#4D4C82#4D4C82

#4D4C82 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.3% C 0.088 H 283.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4D4C82
RGBrgb(77, 76, 130)
HSLhsl(241, 26%, 40%)
HSVhsv(241, 42%, 51%)
CMYKcmyk(40.8%, 41.5%, 0%, 49%)
CIE-LABlab(34.72, 14.83, -30.30)
CIE-LCHlch(34.72, 33.74, 296.08°)
OKLaboklab(44.29% 0.0198 -0.0853)
OKLCHoklch(44.29% 0.088 283.1)
XYZxyz(9.6731, 8.3580, 22.2184)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4C82 #81824C
analogous
#4C6682 #4D4C82 #684C82
triadic
#4D4C82 #824D4C #4C824D
tetradic
#4D4C82 #824C66 #81824C #4C8268
square
#4D4C82 #824C66 #81824C #4C8268
split-complementary
#4D4C82 #82684C #66824C
monochromatic
#1F1F35 #36355B #4D4C82 #6766A5 #8D8CBC

Accessibility & contrast

On white

7.86
#4D4C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4D4C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4C82
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4C82#FFFFFF#000000##FFFFFF
##4D4C821.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5384
Deuteranopia (green-blind)
#375081
Tritanopia (blue-blind)
#3E5760
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d4c82;
/* rgb */ color: rgb(77, 76, 130);
/* oklch */ color: oklch(44.3% 0.088 283.1);
Tailwind
colors: {
  custom: {
    50: '#817ea6',
    500: '#4d4c82',
    950: '#000000',
  },
}
SCSS
$custom: #4d4c82;
$custom-light: #817ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4c82",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 130
  },
  "hsl": {
    "h": 241.111,
    "s": 26.214,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44294,
    "c": 0.08753,
    "h": 283.1
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#4D4C82
secondary
#A8A881
accent
#C365C1
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #4D4C82

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

Preview Lab → · Contrast checker → · Palette generator →

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