#4C579D#4C579D

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

Color values

HEX#4C579D
RGBrgb(76, 87, 157)
HSLhsl(232, 35%, 46%)
HSVhsv(232, 52%, 62%)
CMYKcmyk(51.6%, 44.6%, 0%, 38.4%)
CIE-LABlab(39.22, 16.07, -39.57)
CIE-LCHlch(39.22, 42.71, 292.11°)
OKLaboklab(48.21% 0.0091 -0.1123)
OKLCHoklch(48.21% 0.113 274.7)
XYZxyz(12.4726, 10.7864, 33.3165)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C579D #9D924C
analogous
#4C7F9D #4C579D #694C9D
triadic
#4C579D #9D4C57 #579D4C
tetradic
#4C579D #9D4C7F #9D924C #4C9D69
square
#4C579D #9D4C7F #9D924C #4C9D69
split-complementary
#4C579D #9D694C #7F9D4C
monochromatic
#24294B #384074 #4C579D #6E78B9 #979ECD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C579D#FFFFFF#000000##FFFFFF
##4C579D1.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)
#3A60A0
Deuteranopia (green-blind)
#32599B
Tritanopia (blue-blind)
#2A6672
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c579d;
/* rgb */ color: rgb(76, 87, 157);
/* oklch */ color: oklch(48.2% 0.113 274.7);
Tailwind
colors: {
  custom: {
    50: '#8386ba',
    500: '#4c579d',
    950: '#000000',
  },
}
SCSS
$custom: #4c579d;
$custom-light: #8386ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4c579d",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 231.852,
    "s": 34.764,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48205,
    "c": 0.11267,
    "h": 274.7
  },
  "luminance": 0.10787
}

Semantic roles & 50–950 ramp

primary
#4C579D
secondary
#B9B38C
accent
#BC5DCB
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4C579D

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

Preview Lab → · Contrast checker → · Palette generator →

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