#4D4970#4D4970

#4D4970 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.6% C 0.064 H 288.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4D4970
RGBrgb(77, 73, 112)
HSLhsl(246, 21%, 36%)
HSVhsv(246, 35%, 44%)
CMYKcmyk(31.2%, 34.8%, 0%, 56.1%)
CIE-LABlab(32.95, 11.45, -21.88)
CIE-LCHlch(32.95, 24.70, 297.62°)
OKLaboklab(42.64% 0.0199 -0.0609)
OKLCHoklch(42.64% 0.064 288.1)
XYZxyz(8.3670, 7.5125, 16.3353)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4970 #6C7049
analogous
#495970 #4D4970 #614970
triadic
#4D4970 #704D49 #49704D
tetradic
#4D4970 #704959 #6C7049 #497061
square
#4D4970 #704959 #6C7049 #497061
split-complementary
#4D4970 #706149 #597049
monochromatic
#1A1926 #34314B #4D4970 #666195 #8984AF

Accessibility & contrast

On white

8.39
#4D4970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4D4970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4970
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4970#FFFFFF#000000##FFFFFF
##4D49701.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4E72
Deuteranopia (green-blind)
#3E4D6F
Tritanopia (blue-blind)
#455057
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d4970;
/* rgb */ color: rgb(77, 73, 112);
/* oklch */ color: oklch(42.6% 0.064 288.1);
Tailwind
colors: {
  custom: {
    50: '#807b99',
    500: '#4d4970',
    950: '#000000',
  },
}
SCSS
$custom: #4d4970;
$custom-light: #807b99;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4970",
  "rgb": {
    "r": 77,
    "g": 73,
    "b": 112
  },
  "hsl": {
    "h": 246.154,
    "s": 21.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42635,
    "c": 0.06402,
    "h": 288.1
  },
  "luminance": 0.07513
}

Semantic roles & 50–950 ramp

primary
#4D4970
secondary
#989C79
accent
#BE6AB5
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4D4970

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

Preview Lab → · Contrast checker → · Palette generator →

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