#4D488D#4D488D

#4D488D is a dark, moderate blue. Relative luminance 0.081; OKLCH L 44.2% C 0.111 H 284.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#4D488D
RGBrgb(77, 72, 141)
HSLhsl(244, 32%, 42%)
HSVhsv(244, 49%, 55%)
CMYKcmyk(45.4%, 48.9%, 0%, 44.7%)
CIE-LABlab(34.26, 20.83, -37.78)
CIE-LCHlch(34.26, 43.14, 298.87°)
OKLaboklab(44.16% 0.0271 -0.1071)
OKLCHoklch(44.16% 0.111 284.2)
XYZxyz(10.1843, 8.1352, 26.2278)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D488D #888D48
analogous
#48668D #4D488D #70488D
triadic
#4D488D #8D4D48 #488D4D
tetradic
#4D488D #8D4866 #888D48 #488D70
square
#4D488D #8D4866 #888D48 #488D70
split-complementary
#4D488D #8D7048 #668D48
monochromatic
#211F3C #373364 #4D488D #6863AF #908BC4

Accessibility & contrast

On white

7.99
#4D488D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4D488D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D488D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D488D#FFFFFF#000000##FFFFFF
##4D488D1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#294E8B
Tritanopia (blue-blind)
#395663
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d488d;
/* rgb */ color: rgb(77, 72, 141);
/* oklch */ color: oklch(44.2% 0.111 284.2);
Tailwind
colors: {
  custom: {
    50: '#837baf',
    500: '#4d488d',
    950: '#000000',
  },
}
SCSS
$custom: #4d488d;
$custom-light: #837baf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d488d",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 244.348,
    "s": 32.394,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44156,
    "c": 0.11051,
    "h": 284.2
  },
  "luminance": 0.08136
}

Semantic roles & 50–950 ramp

primary
#4D488D
secondary
#ACB081
accent
#C95FC1
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4D488D

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

Preview Lab → · Contrast checker → · Palette generator →

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