#4C528E#4C528E

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

Color values

HEX#4C528E
RGBrgb(76, 82, 142)
HSLhsl(235, 30%, 43%)
HSVhsv(235, 46%, 56%)
CMYKcmyk(46.5%, 42.3%, 0%, 44.3%)
CIE-LABlab(36.97, 14.43, -34.09)
CIE-LCHlch(36.97, 37.01, 292.95°)
OKLaboklab(46.21% 0.0128 -0.0963)
OKLCHoklch(46.21% 0.097 277.6)
XYZxyz(10.8788, 9.5235, 26.8509)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C528E #8E884C
analogous
#4C738E #4C528E #674C8E
triadic
#4C528E #8E4C52 #528E4C
tetradic
#4C528E #8E4C73 #8E884C #4C8E67
square
#4C528E #8E4C73 #8E884C #4C8E67
split-complementary
#4C528E #8E674C #738E4C
monochromatic
#21243E #373B66 #4C528E #696FAF #9195C4

Accessibility & contrast

On white

7.23
#4C528E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C528E
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C528E#FFFFFF#000000##FFFFFF
##4C528E1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5A90
Deuteranopia (green-blind)
#36558D
Tritanopia (blue-blind)
#355E69
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4c528e;
/* rgb */ color: rgb(76, 82, 142);
/* oklch */ color: oklch(46.2% 0.097 277.6);
Tailwind
colors: {
  custom: {
    50: '#8282af',
    500: '#4c528e',
    950: '#000000',
  },
}
SCSS
$custom: #4c528e;
$custom-light: #8282af;
$custom-dark: #000000;
JSON
{
  "hex": "#4c528e",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 234.545,
    "s": 30.275,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46213,
    "c": 0.09714,
    "h": 277.6
  },
  "luminance": 0.09524
}

Semantic roles & 50–950 ramp

primary
#4C528E
secondary
#B0AC86
accent
#BD61C7
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4C528E

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

Preview Lab → · Contrast checker → · Palette generator →

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