#4D428D#4D428D

#4D428D is a dark, moderate blue. Relative luminance 0.074; OKLCH L 43.0% C 0.120 H 287.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#4D428D
RGBrgb(77, 66, 141)
HSLhsl(249, 36%, 41%)
HSVhsv(249, 53%, 55%)
CMYKcmyk(45.4%, 53.2%, 0%, 44.7%)
CIE-LABlab(32.69, 24.69, -40.29)
CIE-LCHlch(32.69, 47.26, 301.50°)
OKLaboklab(42.98% 0.0349 -0.1145)
OKLCHoklch(42.98% 0.12 287)
XYZxyz(9.8151, 7.3969, 26.1047)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D428D #828D42
analogous
#425C8D #4D428D #72428D
triadic
#4D428D #8D4D42 #428D4D
tetradic
#4D428D #8D425C #828D42 #428D72
square
#4D428D #8D425C #828D42 #428D72
split-complementary
#4D428D #8D7242 #5C8D42
monochromatic
#1F1B3A #362E63 #4D428D #675AB2 #8E84C5

Accessibility & contrast

On white

8.47
#4D428D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4D428D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D428D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D428D#FFFFFF#000000##FFFFFF
##4D428D1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F90
Deuteranopia (green-blind)
#1F4B8B
Tritanopia (blue-blind)
#395261
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d428d;
/* rgb */ color: rgb(77, 66, 141);
/* oklch */ color: oklch(43.0% 0.120 287.0);
Tailwind
colors: {
  custom: {
    50: '#8376af',
    500: '#4d428d',
    950: '#000000',
  },
}
SCSS
$custom: #4d428d;
$custom-light: #8376af;
$custom-dark: #000000;
JSON
{
  "hex": "#4d428d",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 248.8,
    "s": 36.232,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42979,
    "c": 0.11975,
    "h": 287
  },
  "luminance": 0.07397
}

Semantic roles & 50–950 ramp

primary
#4D428D
secondary
#A8B07B
accent
#CC5CBC
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4D428D

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

Preview Lab → · Contrast checker → · Palette generator →

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