#4D4C83#4D4C83

#4D4C83 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.4% C 0.089 H 283.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4D4C83
RGBrgb(77, 76, 131)
HSLhsl(241, 27%, 41%)
HSVhsv(241, 42%, 51%)
CMYKcmyk(41.2%, 42%, 0%, 48.6%)
CIE-LABlab(34.77, 15.14, -30.83)
CIE-LCHlch(34.77, 34.35, 296.15°)
OKLaboklab(44.35% 0.02 -0.0868)
OKLCHoklch(44.35% 0.089 283)
XYZxyz(9.7406, 8.3850, 22.5736)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4C83 #82834C
analogous
#4C6683 #4D4C83 #684C83
triadic
#4D4C83 #834D4C #4C834D
tetradic
#4D4C83 #834C66 #82834C #4C8368
square
#4D4C83 #834C66 #82834C #4C8368
split-complementary
#4D4C83 #83684C #66834C
monochromatic
#1F1F36 #36365C #4D4C83 #6766A6 #8E8DBD

Accessibility & contrast

On white

7.84
#4D4C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4D4C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4C83
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4C83#FFFFFF#000000##FFFFFF
##4D4C831.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395485
Deuteranopia (green-blind)
#375082
Tritanopia (blue-blind)
#3D5761
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d4c83;
/* rgb */ color: rgb(77, 76, 131);
/* oklch */ color: oklch(44.4% 0.089 283.0);
Tailwind
colors: {
  custom: {
    50: '#817ea7',
    500: '#4d4c83',
    950: '#000000',
  },
}
SCSS
$custom: #4d4c83;
$custom-light: #817ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4c83",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 131
  },
  "hsl": {
    "h": 241.091,
    "s": 26.57,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44354,
    "c": 0.08907,
    "h": 283
  },
  "luminance": 0.08385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D4C83

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

Preview Lab → · Contrast checker → · Palette generator →

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