#4D529C#4D529C

#4D529C is a mid, moderate blue. Relative luminance 0.100; OKLCH L 47.2% C 0.118 H 277.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4D529C
RGBrgb(77, 82, 156)
HSLhsl(236, 34%, 46%)
HSVhsv(236, 51%, 61%)
CMYKcmyk(50.6%, 47.4%, 0%, 38.8%)
CIE-LABlab(37.86, 19.19, -41.12)
CIE-LCHlch(37.86, 45.38, 295.02°)
OKLaboklab(47.18% 0.0163 -0.1169)
OKLCHoklch(47.18% 0.118 277.9)
XYZxyz(12.0768, 10.0120, 32.7422)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D529C #9C974D
analogous
#4D799C #4D529C #6F4D9C
triadic
#4D529C #9C4D52 #529C4D
tetradic
#4D529C #9C4D79 #9C974D #4D9C6F
square
#4D529C #9C4D79 #9C974D #4D9C6F
split-complementary
#4D529C #9C6F4D #799C4D
monochromatic
#25274A #393C73 #4D529C #6F73B8 #979BCC

Accessibility & contrast

On white

6.99
#4D529C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#4D529C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D529C
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D529C#FFFFFF#000000##FFFFFF
##4D529C1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325C9F
Deuteranopia (green-blind)
#2B569A
Tritanopia (blue-blind)
#2E626F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d529c;
/* rgb */ color: rgb(77, 82, 156);
/* oklch */ color: oklch(47.2% 0.118 277.9);
Tailwind
colors: {
  custom: {
    50: '#8482ba',
    500: '#4d529c',
    950: '#000000',
  },
}
SCSS
$custom: #4d529c;
$custom-light: #8482ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4d529c",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 156
  },
  "hsl": {
    "h": 236.203,
    "s": 33.906,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47175,
    "c": 0.11801,
    "h": 277.9
  },
  "luminance": 0.10013
}

Semantic roles & 50–950 ramp

primary
#4D529C
secondary
#B8B68C
accent
#C35ECA
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4D529C

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

Preview Lab → · Contrast checker → · Palette generator →

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