#4D528C#4D528C

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

Color values

HEX#4D528C
RGBrgb(77, 82, 140)
HSLhsl(235, 29%, 43%)
HSVhsv(235, 45%, 55%)
CMYKcmyk(45%, 41.4%, 0%, 45.1%)
CIE-LABlab(36.94, 14.06, -32.92)
CIE-LCHlch(36.94, 35.80, 293.13°)
OKLaboklab(46.17% 0.0136 -0.0929)
OKLCHoklch(46.17% 0.094 278.3)
XYZxyz(10.8101, 9.5053, 26.0710)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D528C #8C874D
analogous
#4D728C #4D528C #674D8C
triadic
#4D528C #8C4D52 #528C4D
tetradic
#4D528C #8C4D72 #8C874D #4D8C67
square
#4D528C #8C4D72 #8C874D #4D8C67
split-complementary
#4D528C #8C674D #728C4D
monochromatic
#22243D #373B65 #4D528C #696FAD #9195C2

Accessibility & contrast

On white

7.24
#4D528C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4D528C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D528C
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D528C#FFFFFF#000000##FFFFFF
##4D528C1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d528c;
/* rgb */ color: rgb(77, 82, 140);
/* oklch */ color: oklch(46.2% 0.094 278.3);
Tailwind
colors: {
  custom: {
    50: '#8282ae',
    500: '#4d528c',
    950: '#000000',
  },
}
SCSS
$custom: #4d528c;
$custom-light: #8282ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4d528c",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 235.238,
    "s": 29.032,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4617,
    "c": 0.09384,
    "h": 278.3
  },
  "luminance": 0.09506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D528C

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

Preview Lab → · Contrast checker → · Palette generator →

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