#4C548D#4C548D

#4C548D is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.6% C 0.093 H 276.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4C548D
RGBrgb(76, 84, 141)
HSLhsl(233, 30%, 43%)
HSVhsv(233, 46%, 55%)
CMYKcmyk(46.1%, 40.4%, 0%, 44.7%)
CIE-LABlab(37.48, 12.83, -32.68)
CIE-LCHlch(37.48, 35.10, 291.43°)
OKLaboklab(46.58% 0.0099 -0.0922)
OKLCHoklch(46.58% 0.093 276.1)
XYZxyz(10.9571, 9.7997, 26.5083)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C548D #8D854C
analogous
#4C758D #4C548D #644C8D
triadic
#4C548D #8D4C54 #548D4C
tetradic
#4C548D #8D4C75 #8D854C #4C8D64
square
#4C548D #8D4C75 #8D854C #4C8D64
split-complementary
#4C548D #8D644C #758D4C
monochromatic
#21253D #373C65 #4C548D #6871AE #9096C3

Accessibility & contrast

On white

7.09
#4C548D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4C548D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C548D
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C548D#FFFFFF#000000##FFFFFF
##4C548D1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B8F
Deuteranopia (green-blind)
#3A568C
Tritanopia (blue-blind)
#366069
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c548d;
/* rgb */ color: rgb(76, 84, 141);
/* oklch */ color: oklch(46.6% 0.093 276.1);
Tailwind
colors: {
  custom: {
    50: '#8284ae',
    500: '#4c548d',
    950: '#000000',
  },
}
SCSS
$custom: #4c548d;
$custom-light: #8284ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4c548d",
  "rgb": {
    "r": 76,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 232.615,
    "s": 29.954,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46583,
    "c": 0.0927,
    "h": 276.1
  },
  "luminance": 0.098
}

Semantic roles & 50–950 ramp

primary
#4C548D
secondary
#AFAA85
accent
#BA62C6
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4C548D

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

Preview Lab → · Contrast checker → · Palette generator →

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