#4D549E#4D549E

#4D549E is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.7% C 0.118 H 276.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4D549E
RGBrgb(77, 84, 158)
HSLhsl(235, 34%, 46%)
HSVhsv(235, 51%, 62%)
CMYKcmyk(51.3%, 46.8%, 0%, 38%)
CIE-LABlab(38.53, 18.56, -41.26)
CIE-LCHlch(38.53, 45.25, 294.22°)
OKLaboklab(47.72% 0.0141 -0.1173)
OKLCHoklch(47.72% 0.118 276.9)
XYZxyz(12.4005, 10.3863, 33.6925)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D549E #9E974D
analogous
#4D7C9E #4D549E #6E4D9E
triadic
#4D549E #9E4D54 #549E4D
tetradic
#4D549E #9E4D7C #9E974D #4D9E6E
square
#4D549E #9E4D7C #9E974D #4D9E6E
split-complementary
#4D549E #9E6E4D #7C9E4D
monochromatic
#25284C #393E75 #4D549E #6F76B9 #989DCD

Accessibility & contrast

On white

6.82
#4D549E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4D549E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D549E
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D549E#FFFFFF#000000##FFFFFF
##4D549E1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA1
Deuteranopia (green-blind)
#2C589C
Tritanopia (blue-blind)
#2C6471
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d549e;
/* rgb */ color: rgb(77, 84, 158);
/* oklch */ color: oklch(47.7% 0.118 276.9);
Tailwind
colors: {
  custom: {
    50: '#8484bb',
    500: '#4d549e',
    950: '#000000',
  },
}
SCSS
$custom: #4d549e;
$custom-light: #8484bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d549e",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 158
  },
  "hsl": {
    "h": 234.815,
    "s": 34.468,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47717,
    "c": 0.11813,
    "h": 276.9
  },
  "luminance": 0.10387
}

Semantic roles & 50–950 ramp

primary
#4D549E
secondary
#BAB68D
accent
#C15DCB
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4D549E

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

Preview Lab → · Contrast checker → · Palette generator →

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