#4D488C#4D488C

#4D488C is a dark, moderate blue. Relative luminance 0.081; OKLCH L 44.1% C 0.109 H 284.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4D488C
RGBrgb(77, 72, 140)
HSLhsl(244, 32%, 42%)
HSVhsv(244, 49%, 55%)
CMYKcmyk(45%, 48.6%, 0%, 45.1%)
CIE-LABlab(34.20, 20.52, -37.27)
CIE-LCHlch(34.20, 42.54, 298.84°)
OKLaboklab(44.09% 0.027 -0.1056)
OKLCHoklch(44.09% 0.109 284.3)
XYZxyz(10.1102, 8.1055, 25.8377)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D488C #878C48
analogous
#48658C #4D488C #6F488C
triadic
#4D488C #8C4D48 #488C4D
tetradic
#4D488C #8C4865 #878C48 #488C6F
square
#4D488C #8C4865 #878C48 #488C6F
split-complementary
#4D488C #8C6F48 #658C48
monochromatic
#211E3B #373364 #4D488C #6863AF #8F8BC3

Accessibility & contrast

On white

8.01
#4D488C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4D488C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D488C
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D488C#FFFFFF#000000##FFFFFF
##4D488C1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D538E
Deuteranopia (green-blind)
#2A4E8A
Tritanopia (blue-blind)
#395663
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d488c;
/* rgb */ color: rgb(77, 72, 140);
/* oklch */ color: oklch(44.1% 0.109 284.3);
Tailwind
colors: {
  custom: {
    50: '#837bae',
    500: '#4d488c',
    950: '#000000',
  },
}
SCSS
$custom: #4d488c;
$custom-light: #837bae;
$custom-dark: #000000;
JSON
{
  "hex": "#4d488c",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 244.412,
    "s": 32.075,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4409,
    "c": 0.10902,
    "h": 284.3
  },
  "luminance": 0.08106
}

Semantic roles & 50–950 ramp

primary
#4D488C
secondary
#ACAF81
accent
#C860C1
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4D488C

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

Preview Lab → · Contrast checker → · Palette generator →

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