#4D528D#4D528D

#4D528D is a mid, moderate blue. Relative luminance 0.095; OKLCH L 46.2% C 0.095 H 278.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4D528D
RGBrgb(77, 82, 141)
HSLhsl(235, 29%, 43%)
HSVhsv(235, 45%, 55%)
CMYKcmyk(45.4%, 41.8%, 0%, 44.7%)
CIE-LABlab(36.99, 14.38, -33.44)
CIE-LCHlch(36.99, 36.40, 293.27°)
OKLaboklab(46.23% 0.0138 -0.0944)
OKLCHoklch(46.23% 0.095 278.3)
XYZxyz(10.8841, 9.5349, 26.4611)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D528D #8D884D
analogous
#4D728D #4D528D #684D8D
triadic
#4D528D #8D4D52 #528D4D
tetradic
#4D528D #8D4D72 #8D884D #4D8D68
square
#4D528D #8D4D72 #8D884D #4D8D68
split-complementary
#4D528D #8D684D #728D4D
monochromatic
#22243E #373B65 #4D528D #6A6FAD #9195C3

Accessibility & contrast

On white

7.22
#4D528D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4D528D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D528D
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D528D#FFFFFF#000000##FFFFFF
##4D528D1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A8F
Deuteranopia (green-blind)
#38558C
Tritanopia (blue-blind)
#385E68
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d528d;
/* rgb */ color: rgb(77, 82, 141);
/* oklch */ color: oklch(46.2% 0.095 278.3);
Tailwind
colors: {
  custom: {
    50: '#8282ae',
    500: '#4d528d',
    950: '#000000',
  },
}
SCSS
$custom: #4d528d;
$custom-light: #8282ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4d528d",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 235.313,
    "s": 29.358,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4623,
    "c": 0.09538,
    "h": 278.3
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

primary
#4D528D
secondary
#AFAC86
accent
#BE62C6
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4D528D

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

Preview Lab → · Contrast checker → · Palette generator →

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