#4D4E82#4D4E82

#4D4E82 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.7% C 0.084 H 281.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4D4E82
RGBrgb(77, 78, 130)
HSLhsl(239, 26%, 41%)
HSVhsv(239, 41%, 51%)
CMYKcmyk(40.8%, 40%, 0%, 49%)
CIE-LABlab(35.28, 13.54, -29.42)
CIE-LCHlch(35.28, 32.38, 294.71°)
OKLaboklab(44.72% 0.017 -0.0827)
OKLCHoklch(44.72% 0.084 281.6)
XYZxyz(9.8131, 8.6379, 22.2650)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E82 #82814D
analogous
#4D6882 #4D4E82 #664D82
triadic
#4D4E82 #824D4E #4E824D
tetradic
#4D4E82 #824D68 #82814D #4D8266
square
#4D4E82 #824D68 #82814D #4D8266
split-complementary
#4D4E82 #82664D #68824D
monochromatic
#1F2035 #36375C #4D4E82 #6768A5 #8E8EBC

Accessibility & contrast

On white

7.70
#4D4E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D4E82
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E82#FFFFFF#000000##FFFFFF
##4D4E821.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5584
Deuteranopia (green-blind)
#3A5181
Tritanopia (blue-blind)
#3E5862
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d4e82;
/* rgb */ color: rgb(77, 78, 130);
/* oklch */ color: oklch(44.7% 0.084 281.6);
Tailwind
colors: {
  custom: {
    50: '#817fa6',
    500: '#4d4e82',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e82;
$custom-light: #817fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e82",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 238.868,
    "s": 25.604,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44722,
    "c": 0.0844,
    "h": 281.6
  },
  "luminance": 0.08638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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