#4C528D#4C528D

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

Color values

HEX#4C528D
RGBrgb(76, 82, 141)
HSLhsl(234, 30%, 43%)
HSVhsv(234, 46%, 55%)
CMYKcmyk(46.1%, 41.8%, 0%, 44.7%)
CIE-LABlab(36.92, 14.11, -33.57)
CIE-LCHlch(36.92, 36.41, 292.80°)
OKLaboklab(46.15% 0.0126 -0.0948)
OKLCHoklch(46.15% 0.096 277.6)
XYZxyz(10.8040, 9.4936, 26.4573)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C528D #8D874C
analogous
#4C728D #4C528D #674C8D
triadic
#4C528D #8D4C52 #528D4C
tetradic
#4C528D #8D4C72 #8D874C #4C8D67
square
#4C528D #8D4C72 #8D874C #4C8D67
split-complementary
#4C528D #8D674C #728D4C
monochromatic
#21243D #373B65 #4C528D #686FAE #9095C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C528D#FFFFFF#000000##FFFFFF
##4C528D1.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)
#3C598F
Deuteranopia (green-blind)
#37548C
Tritanopia (blue-blind)
#365E68
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4c528d;
/* rgb */ color: rgb(76, 82, 141);
/* oklch */ color: oklch(46.2% 0.096 277.6);
Tailwind
colors: {
  custom: {
    50: '#8282ae',
    500: '#4c528d',
    950: '#000000',
  },
}
SCSS
$custom: #4c528d;
$custom-light: #8282ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4c528d",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 234.462,
    "s": 29.954,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46152,
    "c": 0.09561,
    "h": 277.6
  },
  "luminance": 0.09494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C528D

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

Preview Lab → · Contrast checker → · Palette generator →

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