#4D549F#4D549F

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

Color values

HEX#4D549F
RGBrgb(77, 84, 159)
HSLhsl(235, 35%, 46%)
HSVhsv(235, 52%, 62%)
CMYKcmyk(51.6%, 47.2%, 0%, 37.6%)
CIE-LABlab(38.59, 18.89, -41.77)
CIE-LCHlch(38.59, 45.84, 294.34°)
OKLaboklab(47.78% 0.0143 -0.1187)
OKLCHoklch(47.78% 0.12 276.9)
XYZxyz(12.4869, 10.4209, 34.1476)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D549F #9F984D
analogous
#4D7D9F #4D549F #6F4D9F
triadic
#4D549F #9F4D54 #549F4D
tetradic
#4D549F #9F4D7D #9F984D #4D9F6F
square
#4D549F #9F4D7D #9F984D #4D9F6F
split-complementary
#4D549F #9F6F4D #7D9F4D
monochromatic
#25284D #393E76 #4D549F #7076BA #999DCE

Accessibility & contrast

On white

6.81
#4D549F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D549F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D549F#FFFFFF#000000##FFFFFF
##4D549F1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335EA2
Deuteranopia (green-blind)
#2B589D
Tritanopia (blue-blind)
#2B6472
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d549f;
/* rgb */ color: rgb(77, 84, 159);
/* oklch */ color: oklch(47.8% 0.120 276.9);
Tailwind
colors: {
  custom: {
    50: '#8484bc',
    500: '#4d549f',
    950: '#000000',
  },
}
SCSS
$custom: #4d549f;
$custom-light: #8484bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d549f",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 234.878,
    "s": 34.746,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47782,
    "c": 0.1196,
    "h": 276.9
  },
  "luminance": 0.10422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D549F

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

Preview Lab → · Contrast checker → · Palette generator →

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