#4D548B#4D548B

#4D548B is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.5% C 0.089 H 276.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4D548B
RGBrgb(77, 84, 139)
HSLhsl(233, 29%, 42%)
HSVhsv(233, 45%, 55%)
CMYKcmyk(44.6%, 39.6%, 0%, 45.5%)
CIE-LABlab(37.45, 12.46, -31.51)
CIE-LCHlch(37.45, 33.88, 291.59°)
OKLaboklab(46.54% 0.0106 -0.0887)
OKLCHoklch(46.54% 0.089 276.8)
XYZxyz(10.8897, 9.7820, 25.7354)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D548B #8B844D
analogous
#4D738B #4D548B #654D8B
triadic
#4D548B #8B4D54 #548B4D
tetradic
#4D548B #8B4D73 #8B844D #4D8B65
square
#4D548B #8B4D73 #8B844D #4D8B65
split-complementary
#4D548B #8B654D #738B4D
monochromatic
#21243C #373C64 #4D548B #6971AC #9196C2

Accessibility & contrast

On white

7.10
#4D548B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D548B
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D548B#FFFFFF#000000##FFFFFF
##4D548B1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d548b;
/* rgb */ color: rgb(77, 84, 139);
/* oklch */ color: oklch(46.5% 0.089 276.8);
Tailwind
colors: {
  custom: {
    50: '#8284ad',
    500: '#4d548b',
    950: '#000000',
  },
}
SCSS
$custom: #4d548b;
$custom-light: #8284ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4d548b",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 233.226,
    "s": 28.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46542,
    "c": 0.08938,
    "h": 276.8
  },
  "luminance": 0.09783
}

Semantic roles & 50–950 ramp

primary
#4D548B
secondary
#AEAA86
accent
#BA63C5
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4D548B

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

Preview Lab → · Contrast checker → · Palette generator →

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