#4C548A#4C548A

#4C548A is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.4% C 0.088 H 276.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4C548A
RGBrgb(76, 84, 138)
HSLhsl(232, 29%, 42%)
HSVhsv(232, 45%, 54%)
CMYKcmyk(44.9%, 39.1%, 0%, 45.9%)
CIE-LABlab(37.32, 11.88, -31.10)
CIE-LCHlch(37.32, 33.29, 290.90°)
OKLaboklab(46.41% 0.0092 -0.0876)
OKLCHoklch(46.41% 0.088 276)
XYZxyz(10.7369, 9.7116, 25.3486)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C548A #8A824C
analogous
#4C738A #4C548A #634C8A
triadic
#4C548A #8A4C54 #548A4C
tetradic
#4C548A #8A4C73 #8A824C #4C8A63
square
#4C548A #8A4C73 #8A824C #4C8A63
split-complementary
#4C548A #8A634C #738A4C
monochromatic
#21243B #363C63 #4C548A #6870AC #8F96C1

Accessibility & contrast

On white

7.14
#4C548A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4C548A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C548A
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C548A#FFFFFF#000000##FFFFFF
##4C548A1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415A8C
Deuteranopia (green-blind)
#3C5589
Tritanopia (blue-blind)
#375F68
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c548a;
/* rgb */ color: rgb(76, 84, 138);
/* oklch */ color: oklch(46.4% 0.088 276.0);
Tailwind
colors: {
  custom: {
    50: '#8184ac',
    500: '#4c548a',
    950: '#000000',
  },
}
SCSS
$custom: #4c548a;
$custom-light: #8184ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4c548a",
  "rgb": {
    "r": 76,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 232.258,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46407,
    "c": 0.08807,
    "h": 276
  },
  "luminance": 0.09712
}

Semantic roles & 50–950 ramp

primary
#4C548A
secondary
#AEA884
accent
#B963C5
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #4C548A

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

Preview Lab → · Contrast checker → · Palette generator →

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