#4D529E#4D529E

#4D529E is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.121 H 277.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#4D529E
RGBrgb(77, 82, 158)
HSLhsl(236, 34%, 46%)
HSVhsv(236, 51%, 62%)
CMYKcmyk(51.3%, 48.1%, 0%, 38%)
CIE-LABlab(37.99, 19.85, -42.13)
CIE-LCHlch(37.99, 46.57, 295.23°)
OKLaboklab(47.31% 0.0166 -0.1198)
OKLCHoklch(47.31% 0.121 277.9)
XYZxyz(12.2475, 10.0803, 33.6414)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D529E #9E994D
analogous
#4D7A9E #4D529E #704D9E
triadic
#4D529E #9E4D52 #529E4D
tetradic
#4D529E #9E4D7A #9E994D #4D9E70
square
#4D529E #9E4D7A #9E994D #4D9E70
split-complementary
#4D529E #9E704D #7A9E4D
monochromatic
#25274C #393D75 #4D529E #6F74B9 #989CCD

Accessibility & contrast

On white

6.96
#4D529E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4D529E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D529E
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D529E#FFFFFF#000000##FFFFFF
##4D529E1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305DA1
Deuteranopia (green-blind)
#29569C
Tritanopia (blue-blind)
#2C6270
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d529e;
/* rgb */ color: rgb(77, 82, 158);
/* oklch */ color: oklch(47.3% 0.121 277.9);
Tailwind
colors: {
  custom: {
    50: '#8482bb',
    500: '#4d529e',
    950: '#000000',
  },
}
SCSS
$custom: #4d529e;
$custom-light: #8482bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d529e",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 158
  },
  "hsl": {
    "h": 236.296,
    "s": 34.468,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47307,
    "c": 0.12097,
    "h": 277.9
  },
  "luminance": 0.10081
}

Semantic roles & 50–950 ramp

primary
#4D529E
secondary
#BAB78D
accent
#C45DCB
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4D529E

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

Preview Lab → · Contrast checker → · Palette generator →

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