#4D579C#4D579C

#4D579C is a mid, moderate blue. Relative luminance 0.108; OKLCH L 48.2% C 0.111 H 275.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4D579C
RGBrgb(77, 87, 156)
HSLhsl(232, 34%, 46%)
HSVhsv(232, 51%, 61%)
CMYKcmyk(50.6%, 44.2%, 0%, 38.8%)
CIE-LABlab(39.23, 15.99, -38.94)
CIE-LCHlch(39.23, 42.10, 292.32°)
OKLaboklab(48.21% 0.0101 -0.1104)
OKLCHoklch(48.21% 0.111 275.2)
XYZxyz(12.4676, 10.7937, 32.8725)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D579C #9C924D
analogous
#4D7E9C #4D579C #6A4D9C
triadic
#4D579C #9C4D57 #579C4D
tetradic
#4D579C #9C4D7E #9C924D #4D9C6A
square
#4D579C #9C4D7E #9C924D #4D9C6A
split-complementary
#4D579C #9C6A4D #7E9C4D
monochromatic
#25294A #394073 #4D579C #6F78B8 #979ECC

Accessibility & contrast

On white

6.65
#4D579C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4D579C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D579C
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D579C#FFFFFF#000000##FFFFFF
##4D579C1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B609F
Deuteranopia (green-blind)
#33599A
Tritanopia (blue-blind)
#2D6672
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d579c;
/* rgb */ color: rgb(77, 87, 156);
/* oklch */ color: oklch(48.2% 0.111 275.2);
Tailwind
colors: {
  custom: {
    50: '#8486b9',
    500: '#4d579c',
    950: '#000000',
  },
}
SCSS
$custom: #4d579c;
$custom-light: #8486b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d579c",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 232.405,
    "s": 33.906,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48214,
    "c": 0.11091,
    "h": 275.2
  },
  "luminance": 0.10794
}

Semantic roles & 50–950 ramp

primary
#4D579C
secondary
#B8B38C
accent
#BC5ECA
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4D579C

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

Preview Lab → · Contrast checker → · Palette generator →

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