#4C528C#4C528C

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

Color values

HEX#4C528C
RGBrgb(76, 82, 140)
HSLhsl(234, 30%, 42%)
HSVhsv(234, 46%, 55%)
CMYKcmyk(45.7%, 41.4%, 0%, 45.1%)
CIE-LABlab(36.86, 13.80, -33.04)
CIE-LCHlch(36.86, 35.81, 292.66°)
OKLaboklab(46.09% 0.0124 -0.0932)
OKLCHoklch(46.09% 0.094 277.6)
XYZxyz(10.7300, 9.4640, 26.0672)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C528C #8C864C
analogous
#4C728C #4C528C #664C8C
triadic
#4C528C #8C4C52 #528C4C
tetradic
#4C528C #8C4C72 #8C864C #4C8C66
square
#4C528C #8C4C72 #8C864C #4C8C66
split-complementary
#4C528C #8C664C #728C4C
monochromatic
#21243D #363B64 #4C528C #686FAD #9095C3

Accessibility & contrast

On white

7.26
#4C528C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4C528C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C528C
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C528C#FFFFFF#000000##FFFFFF
##4C528C1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c528c;
/* rgb */ color: rgb(76, 82, 140);
/* oklch */ color: oklch(46.1% 0.094 277.6);
Tailwind
colors: {
  custom: {
    50: '#8182ae',
    500: '#4c528c',
    950: '#000000',
  },
}
SCSS
$custom: #4c528c;
$custom-light: #8182ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4c528c",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 234.375,
    "s": 29.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46092,
    "c": 0.09407,
    "h": 277.6
  },
  "luminance": 0.09465
}

Semantic roles & 50–950 ramp

primary
#4C528C
secondary
#AFAB85
accent
#BD62C6
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4C528C

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

Preview Lab → · Contrast checker → · Palette generator →

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