#4C528F#4C528F

#4C528F is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.3% C 0.099 H 277.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#4C528F
RGBrgb(76, 82, 143)
HSLhsl(235, 31%, 43%)
HSVhsv(235, 47%, 56%)
CMYKcmyk(46.9%, 42.7%, 0%, 43.9%)
CIE-LABlab(37.03, 14.75, -34.60)
CIE-LCHlch(37.03, 37.62, 293.08°)
OKLaboklab(46.27% 0.013 -0.0978)
OKLCHoklch(46.27% 0.099 277.6)
XYZxyz(10.9542, 9.5537, 27.2481)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C528F #8F894C
analogous
#4C738F #4C528F #674C8F
triadic
#4C528F #8F4C52 #528F4C
tetradic
#4C528F #8F4C73 #8F894C #4C8F67
square
#4C528F #8F4C73 #8F894C #4C8F67
split-complementary
#4C528F #8F674C #738F4C
monochromatic
#22243F #373B67 #4C528F #696FAF #9196C4

Accessibility & contrast

On white

7.21
#4C528F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C528F
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C528F#FFFFFF#000000##FFFFFF
##4C528F1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5A91
Deuteranopia (green-blind)
#36558E
Tritanopia (blue-blind)
#355F69
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4c528f;
/* rgb */ color: rgb(76, 82, 143);
/* oklch */ color: oklch(46.3% 0.099 277.6);
Tailwind
colors: {
  custom: {
    50: '#8282b0',
    500: '#4c528f',
    950: '#000000',
  },
}
SCSS
$custom: #4c528f;
$custom-light: #8282b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c528f",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 143
  },
  "hsl": {
    "h": 234.627,
    "s": 30.594,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46274,
    "c": 0.09867,
    "h": 277.6
  },
  "luminance": 0.09554
}

Semantic roles & 50–950 ramp

primary
#4C528F
secondary
#B1AD86
accent
#BE61C7
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4C528F

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

Preview Lab → · Contrast checker → · Palette generator →

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