#4D4875#4D4875

#4D4875 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.7% C 0.074 H 288.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4D4875
RGBrgb(77, 72, 117)
HSLhsl(247, 24%, 37%)
HSVhsv(247, 38%, 46%)
CMYKcmyk(34.2%, 38.5%, 0%, 54.1%)
CIE-LABlab(32.91, 13.54, -25.07)
CIE-LCHlch(32.91, 28.49, 298.37°)
OKLaboklab(42.69% 0.0227 -0.0701)
OKLCHoklch(42.69% 0.074 288)
XYZxyz(8.5880, 7.4967, 17.8207)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4875 #707548
analogous
#485A75 #4D4875 #644875
triadic
#4D4875 #754D48 #48754D
tetradic
#4D4875 #75485A #707548 #487564
square
#4D4875 #75485A #707548 #487564
split-complementary
#4D4875 #756448 #5A7548
monochromatic
#1B1929 #34314F #4D4875 #665F9B #8984B3

Accessibility & contrast

On white

8.40
#4D4875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D4875
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4875#FFFFFF#000000##FFFFFF
##4D48751.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4E77
Deuteranopia (green-blind)
#3A4C74
Tritanopia (blue-blind)
#435059
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d4875;
/* rgb */ color: rgb(77, 72, 117);
/* oklch */ color: oklch(42.7% 0.074 288.0);
Tailwind
colors: {
  custom: {
    50: '#807b9d',
    500: '#4d4875',
    950: '#000000',
  },
}
SCSS
$custom: #4d4875;
$custom-light: #807b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4875",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 246.667,
    "s": 23.81,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4269,
    "c": 0.07365,
    "h": 288
  },
  "luminance": 0.07497
}

Semantic roles & 50–950 ramp

primary
#4D4875
secondary
#9BA079
accent
#C068B6
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4D4875

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

Preview Lab → · Contrast checker → · Palette generator →

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