#4D549D#4D549D

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

Color values

HEX#4D549D
RGBrgb(77, 84, 157)
HSLhsl(235, 34%, 46%)
HSVhsv(235, 51%, 62%)
CMYKcmyk(51%, 46.5%, 0%, 38.4%)
CIE-LABlab(38.47, 18.24, -40.76)
CIE-LCHlch(38.47, 44.65, 294.10°)
OKLaboklab(47.65% 0.014 -0.1158)
OKLCHoklch(47.65% 0.117 276.9)
XYZxyz(12.3148, 10.3520, 33.2410)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D549D #9D964D
analogous
#4D7C9D #4D549D #6E4D9D
triadic
#4D549D #9D4D54 #549D4D
tetradic
#4D549D #9D4D7C #9D964D #4D9D6E
square
#4D549D #9D4D7C #9D964D #4D9D6E
split-complementary
#4D549D #9D6E4D #7C9D4D
monochromatic
#25284B #393E74 #4D549D #6F75B8 #989DCC

Accessibility & contrast

On white

6.84
#4D549D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4D549D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D549D
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D549D#FFFFFF#000000##FFFFFF
##4D549D1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355EA0
Deuteranopia (green-blind)
#2D579B
Tritanopia (blue-blind)
#2D6471
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d549d;
/* rgb */ color: rgb(77, 84, 157);
/* oklch */ color: oklch(47.7% 0.117 276.9);
Tailwind
colors: {
  custom: {
    50: '#8484ba',
    500: '#4d549d',
    950: '#000000',
  },
}
SCSS
$custom: #4d549d;
$custom-light: #8484ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4d549d",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 157
  },
  "hsl": {
    "h": 234.75,
    "s": 34.188,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47652,
    "c": 0.11664,
    "h": 276.9
  },
  "luminance": 0.10353
}

Semantic roles & 50–950 ramp

primary
#4D549D
secondary
#B9B58D
accent
#C15ECA
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4D549D

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

Preview Lab → · Contrast checker → · Palette generator →

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