#4C548B#4C548B

#4C548B is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.5% C 0.090 H 276.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#4C548B
RGBrgb(76, 84, 139)
HSLhsl(232, 29%, 42%)
HSVhsv(232, 45%, 55%)
CMYKcmyk(45.3%, 39.6%, 0%, 45.5%)
CIE-LABlab(37.37, 12.19, -31.63)
CIE-LCHlch(37.37, 33.90, 291.08°)
OKLaboklab(46.47% 0.0095 -0.0891)
OKLCHoklch(46.47% 0.09 276.1)
XYZxyz(10.8096, 9.7407, 25.7317)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C548B #8B834C
analogous
#4C748B #4C548B #644C8B
triadic
#4C548B #8B4C54 #548B4C
tetradic
#4C548B #8B4C74 #8B834C #4C8B64
square
#4C548B #8B4C74 #8B834C #4C8B64
split-complementary
#4C548B #8B644C #748B4C
monochromatic
#21243C #363C63 #4C548B #6871AC #8F96C2

Accessibility & contrast

On white

7.12
#4C548B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4C548B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C548B
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C548B#FFFFFF#000000##FFFFFF
##4C548B1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8D
Deuteranopia (green-blind)
#3B568A
Tritanopia (blue-blind)
#375F69
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c548b;
/* rgb */ color: rgb(76, 84, 139);
/* oklch */ color: oklch(46.5% 0.090 276.1);
Tailwind
colors: {
  custom: {
    50: '#8184ad',
    500: '#4c548b',
    950: '#000000',
  },
}
SCSS
$custom: #4c548b;
$custom-light: #8184ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4c548b",
  "rgb": {
    "r": 76,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 232.381,
    "s": 29.302,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46465,
    "c": 0.08962,
    "h": 276.1
  },
  "luminance": 0.09741
}

Semantic roles & 50–950 ramp

primary
#4C548B
secondary
#AEA985
accent
#B962C6
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4C548B

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

Preview Lab → · Contrast checker → · Palette generator →

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