#4C579B#4C579B

#4C579B is a mid, moderate blue. Relative luminance 0.107; OKLCH L 48.1% C 0.110 H 274.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4C579B
RGBrgb(76, 87, 155)
HSLhsl(232, 34%, 45%)
HSVhsv(232, 51%, 61%)
CMYKcmyk(51%, 43.9%, 0%, 39.2%)
CIE-LABlab(39.10, 15.42, -38.55)
CIE-LCHlch(39.10, 41.52, 291.80°)
OKLaboklab(48.08% 0.0088 -0.1093)
OKLCHoklch(48.08% 0.11 274.6)
XYZxyz(12.3032, 10.7187, 32.4246)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C579B #9B904C
analogous
#4C7E9B #4C579B #694C9B
triadic
#4C579B #9B4C57 #579B4C
tetradic
#4C579B #9B4C7E #9B904C #4C9B69
square
#4C579B #9B4C7E #9B904C #4C9B69
split-complementary
#4C579B #9B694C #7E9B4C
monochromatic
#242949 #384072 #4C579B #6D77B7 #969DCB

Accessibility & contrast

On white

6.68
#4C579B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4C579B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C579B
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C579B#FFFFFF#000000##FFFFFF
##4C579B1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B609E
Deuteranopia (green-blind)
#345999
Tritanopia (blue-blind)
#2C6571
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c579b;
/* rgb */ color: rgb(76, 87, 155);
/* oklch */ color: oklch(48.1% 0.110 274.6);
Tailwind
colors: {
  custom: {
    50: '#8386b9',
    500: '#4c579b',
    950: '#000000',
  },
}
SCSS
$custom: #4c579b;
$custom-light: #8386b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c579b",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 155
  },
  "hsl": {
    "h": 231.646,
    "s": 34.199,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48079,
    "c": 0.10968,
    "h": 274.6
  },
  "luminance": 0.10719
}

Semantic roles & 50–950 ramp

primary
#4C579B
secondary
#B8B28B
accent
#BB5ECA
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4C579B

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

Preview Lab → · Contrast checker → · Palette generator →

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