#4D488F#4D488F

#4D488F is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.3% C 0.113 H 283.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#4D488F
RGBrgb(77, 72, 143)
HSLhsl(244, 33%, 42%)
HSVhsv(244, 50%, 56%)
CMYKcmyk(46.2%, 49.7%, 0%, 43.9%)
CIE-LABlab(34.39, 21.46, -38.81)
CIE-LCHlch(34.39, 44.35, 298.95°)
OKLaboklab(44.29% 0.0273 -0.1101)
OKLCHoklch(44.29% 0.113 283.9)
XYZxyz(10.3344, 8.1952, 27.0186)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D488F #8A8F48
analogous
#48678F #4D488F #70488F
triadic
#4D488F #8F4D48 #488F4D
tetradic
#4D488F #8F4867 #8A8F48 #488F70
square
#4D488F #8F4867 #8A8F48 #488F70
split-complementary
#4D488F #8F7048 #678F48
monochromatic
#211F3E #373466 #4D488F #6963B1 #908CC5

Accessibility & contrast

On white

7.96
#4D488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4D488F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D488F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D488F#FFFFFF#000000##FFFFFF
##4D488F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#274F8D
Tritanopia (blue-blind)
#385764
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d488f;
/* rgb */ color: rgb(77, 72, 143);
/* oklch */ color: oklch(44.3% 0.113 283.9);
Tailwind
colors: {
  custom: {
    50: '#837bb0',
    500: '#4d488f',
    950: '#000000',
  },
}
SCSS
$custom: #4d488f;
$custom-light: #837bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d488f",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 244.225,
    "s": 33.023,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44289,
    "c": 0.11349,
    "h": 283.9
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#4D488F
secondary
#AEB182
accent
#C95FC2
background
#F8F7FA
surface
#EFEDF5
border
#CAC8CF
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4D488F

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

Preview Lab → · Contrast checker → · Palette generator →

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