#4C548F#4C548F

#4C548F is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.7% C 0.096 H 276.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4C548F
RGBrgb(76, 84, 143)
HSLhsl(233, 31%, 43%)
HSVhsv(233, 47%, 56%)
CMYKcmyk(46.9%, 41.3%, 0%, 43.9%)
CIE-LABlab(37.59, 13.46, -33.72)
CIE-LCHlch(37.59, 36.31, 291.77°)
OKLaboklab(46.7% 0.0103 -0.0952)
OKLCHoklch(46.7% 0.096 276.2)
XYZxyz(11.1072, 9.8597, 27.2991)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C548F #8F874C
analogous
#4C758F #4C548F #654C8F
triadic
#4C548F #8F4C54 #548F4C
tetradic
#4C548F #8F4C75 #8F874C #4C8F65
square
#4C548F #8F4C75 #8F874C #4C8F65
split-complementary
#4C548F #8F654C #758F4C
monochromatic
#22253F #373D67 #4C548F #6971AF #9197C4

Accessibility & contrast

On white

7.07
#4C548F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4C548F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C548F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C548F#FFFFFF#000000##FFFFFF
##4C548F1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B91
Deuteranopia (green-blind)
#39568E
Tritanopia (blue-blind)
#34606A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c548f;
/* rgb */ color: rgb(76, 84, 143);
/* oklch */ color: oklch(46.7% 0.096 276.2);
Tailwind
colors: {
  custom: {
    50: '#8284b0',
    500: '#4c548f',
    950: '#000000',
  },
}
SCSS
$custom: #4c548f;
$custom-light: #8284b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c548f",
  "rgb": {
    "r": 76,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 232.836,
    "s": 30.594,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46702,
    "c": 0.09577,
    "h": 276.2
  },
  "luminance": 0.0986
}

Semantic roles & 50–950 ramp

primary
#4C548F
secondary
#B1AC86
accent
#BB61C7
background
#F8F8FA
surface
#EFEFF5
border
#CACACF
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4C548F

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

Preview Lab → · Contrast checker → · Palette generator →

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