#4D4D82#4D4D82

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

Color values

HEX#4D4D82
RGBrgb(77, 77, 130)
HSLhsl(240, 26%, 41%)
HSVhsv(240, 41%, 51%)
CMYKcmyk(40.8%, 40.8%, 0%, 49%)
CIE-LABlab(35.00, 14.19, -29.86)
CIE-LCHlch(35.00, 33.06, 295.41°)
OKLaboklab(44.51% 0.0184 -0.084)
OKLCHoklch(44.51% 0.086 282.3)
XYZxyz(9.7426, 8.4969, 22.2415)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4D82 #82824D
analogous
#4D6782 #4D4D82 #674D82
triadic
#4D4D82 #824D4D #4D824D
tetradic
#4D4D82 #824D67 #82824D #4D8267
square
#4D4D82 #824D67 #82824D #4D8267
split-complementary
#4D4D82 #82674D #67824D
monochromatic
#1F1F35 #36365C #4D4D82 #6767A5 #8E8EBC

Accessibility & contrast

On white

7.78
#4D4D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4D4D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4D82
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4D82#FFFFFF#000000##FFFFFF
##4D4D821.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5484
Deuteranopia (green-blind)
#395181
Tritanopia (blue-blind)
#3E5761
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d4d82;
/* rgb */ color: rgb(77, 77, 130);
/* oklch */ color: oklch(44.5% 0.086 282.3);
Tailwind
colors: {
  custom: {
    50: '#817ea6',
    500: '#4d4d82',
    950: '#000000',
  },
}
SCSS
$custom: #4d4d82;
$custom-light: #817ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4d82",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 130
  },
  "hsl": {
    "h": 240,
    "s": 25.604,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44508,
    "c": 0.08596,
    "h": 282.3
  },
  "luminance": 0.08497
}

Semantic roles & 50–950 ramp

primary
#4D4D82
secondary
#A8A882
accent
#C266C2
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4D4D82

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

Preview Lab → · Contrast checker → · Palette generator →

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