#4D428B#4D428B

#4D428B is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.8% C 0.117 H 287.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#4D428B
RGBrgb(77, 66, 139)
HSLhsl(249, 36%, 40%)
HSVhsv(249, 53%, 55%)
CMYKcmyk(44.6%, 52.5%, 0%, 45.5%)
CIE-LABlab(32.56, 24.07, -39.27)
CIE-LCHlch(32.56, 46.06, 301.51°)
OKLaboklab(42.84% 0.0348 -0.1115)
OKLCHoklch(42.84% 0.117 287.3)
XYZxyz(9.6677, 7.3379, 25.3281)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D428B #808B42
analogous
#425B8B #4D428B #71428B
triadic
#4D428B #8B4D42 #428B4D
tetradic
#4D428B #8B425B #808B42 #428B71
square
#4D428B #8B425B #808B42 #428B71
split-complementary
#4D428B #8B7142 #5B8B42
monochromatic
#1F1B38 #362E62 #4D428B #675AB1 #8D83C4

Accessibility & contrast

On white

8.51
#4D428B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4D428B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D428B
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D428B#FFFFFF#000000##FFFFFF
##4D428B1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8E
Deuteranopia (green-blind)
#214B89
Tritanopia (blue-blind)
#3A5160
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d428b;
/* rgb */ color: rgb(77, 66, 139);
/* oklch */ color: oklch(42.8% 0.117 287.3);
Tailwind
colors: {
  custom: {
    50: '#8376ad',
    500: '#4d428b',
    950: '#000000',
  },
}
SCSS
$custom: #4d428b;
$custom-light: #8376ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4d428b",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 249.041,
    "s": 35.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4284,
    "c": 0.11684,
    "h": 287.3
  },
  "luminance": 0.07338
}

Semantic roles & 50–950 ramp

primary
#4D428B
secondary
#A7AF7A
accent
#CC5CBB
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4D428B

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

Preview Lab → · Contrast checker → · Palette generator →

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