Photo in the color Cadet
Pictured: Cadet, the closest color we have a photo of (#536872)
rgb(76, 81, 109)
#4C516D

Independence #4C516D RGB Color Code

Independence (#4C516D) is a muted, dark blue. In RGB it is made of 30% red, 32% green and 43% blue (R 76, G 81, B 109). The blue channel is the strongest. In HSL it has a hue of 231°, 18% saturation and 36% lightness. Its relative luminance is 0.085, so white text is easier to read on top of it. For print, a rough CMYK match is 30% cyan, 26% magenta, 0% yellow and 57% black. Check it against your printer's ICC profile before you print. It is a cool color. It goes well with warm oranges and reds for contrast. For a calm, matching look, use nearby cool tones.

Open in color picker

Independence color codes

#4C516D in every common color format. Click a value to copy it.

FormatValueNotesCopy
HEX #4C516D Valid CSS
RGB rgb(76, 81, 109) Valid CSS
HSL hsl(231, 18%, 36%) Valid CSS
HSV / HSB hsv(231, 30%, 43%) Not a CSS format
HWB hwb(231 30% 57%) Valid CSS
CMYK cmyk(30%, 26%, 0%, 57%) Approximate (no ICC profile)
OKLCH oklch(44.2% 0.0465 276.47) Valid CSS
OKLab oklab(44.2% 0.0052 -0.0462) Valid CSS
CIELAB lab(34.87% 3.33 -16.94) D50, as in CSS
CIELCH lch(34.87% 17.26 281.12) Valid CSS
Display P3 color(display-p3 0.3016 0.317 0.4188) Valid CSS
XYZ (D65) color(xyz-d65 0.0868 0.0853 0.1566) Valid CSS
Decimal 5001581 Integer (0xRRGGBB)

CMYK here is a rough screen match without an ICC profile. See CMYK and print. Relative luminance: 0.0853. Nearest web-safe color: #336666.

Mix Independence with other colors

See what #4C516D makes with red paint, under a green light, printed with cyan ink and in a digital blend with blue. Click a picture to change the colors and amounts in the color mixer.

Use Independence in your code

Ready to paste into CSS, Sass, Tailwind, iOS, Android and Flutter. Click the icon to copy a line.

WhereCodeCopy
CSS variable--independence: #4C516D;
Sass variable$independence: #4C516D;
Tailwind CSS v4@theme { --color-independence: #4C516D; }
Tailwind CSS v3 configcolors: { 'independence': '#4C516D' }
SwiftUIColor(red: 0.298, green: 0.318, blue: 0.427)
UIKitUIColor(red: 0.298, green: 0.318, blue: 0.427, alpha: 1)
Android XML<color name="independence">#FF4C516D</color>
Flutter and Jetpack ComposeColor(0xFF4C516D)

Accessibility and contrast

White text works best on #4C516D (7.76:1, AAA). Here is how #4C516D does as a text color:

Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
7.76:1 on white
APCA Lc 87
AAA
Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
2.71:1 on black
APCA Lc -15
Fails AATry #6D7390

Check this color against any background in the contrast checker. WCAG ratios and APCA Lc values measure different things, so one can't stand in for the other. Learn more.

How people with color blindness see Independence

#4C516D next to its complement and its two triadic colors, as seen with each type of color blindness.

  • Normal visionhow most people see it
  • Protanopiano red cones, about 1% of men
  • Deuteranopiano green cones, the most common type
  • Tritanopiano blue cones, very rare
  • Achromatopsiano color at all, very rare

With tritanopia, #4C516D and #516D4C look much alike. Don't use these colors alone to tell things apart, for example in a chart. Add labels, patterns or a difference in lightness. Try your own colors in the color blindness simulator.

About the color Independence

A color name from 1927

Independence was first written down as a color name in English in 1927. We know this from Maerz and Paul's A Dictionary of Color of 1930, which prints a sample of it on plate 47. The book does not say why the color got this name, and no flag or event is tied to it.

The code #4C516D is given in the Wikipedia list of blue shades, citing an online copy of the ISCC-NBS dictionary of color names. That dictionary gives only broad color groups, so the exact code is an estimate.

A gray blue for text and frames

There is a lot of gray in it, so it reads as a muted slate blue rather than a strong one. It is very close to purple navy and a bit bluer than dark electric blue. White text on it has a contrast ratio of 7.76 to 1, which passes the strictest level for body text. Check other pairs in the contrast checker.

Independence in a user interface

A sample app screen with #4C516D as the main color, on a light and a dark theme.

Light theme

Dark theme

Buttons and bars use #4C516D as it is. On the dark theme, #4C516D is too hard to read as text (2.29:1), so links, the badge and outline text use #797F9D there (4.51:1). Build a full color scheme around it in the UI color preview.

Color harmonies for Independence

These schemes turn the hue of #4C516D around the color wheel. Each swatch links to its own page.

Complementary

Two colors on opposite sides of the wheel. This gives the most contrast.

Open palette

Analogous

Hues that sit next to each other and look good together.

Open palette

Triadic

Three hues spaced evenly around the wheel. Bold, but still balanced.

Open palette

Split complementary

A base color plus the two hues on each side of its opposite. Strong contrast that clashes less.

Open palette

Tetradic (rectangle)

Two pairs of opposite colors. Let one color lead and use the others less.

Open palette

Square

Four hues 90° apart, spread evenly around the wheel.

Open palette

Monochromatic

One hue at different levels of lightness and saturation.

Open palette

Gradients with Independence

Four CSS gradients made from #4C516D. Copy the code, or open one in the gradient generator to change it.

Soft tint

From a pale tint to the full color.

background: linear-gradient(90deg, #D8DAE0, #4C516D);

Edit in the gradient generator

Deep shade

The color fading into a dark shade.

background: linear-gradient(180deg, #4C516D, #0F1019);

Edit in the gradient generator

Analogous

Its two neighbors on the color wheel.

background: linear-gradient(135deg, #4C626D, #4C516D, #584C6D);

Edit in the gradient generator

Triadic

A bold blend with a triadic color, through a clean middle.

background: linear-gradient(135deg, #4C516D, #5D4F5F, #6D4C51);

Edit in the gradient generator

Shades, tints and tones of Independence

Shades are darker, tints are lighter and tones are grayer. We make them in OKLCH so the steps look even. Hover a step to see its code, or click it to open it.

Design system scale (50 to 950)

Independence sits at step 700. Export the full scale as CSS variables or Tailwind tokens from the picker.

  1. 50
    F4F6FF
  2. 100
    E9ECFC
  3. 200
    D5DAEF
  4. 300
    BABFDA
  5. 400
    9BA1BF
  6. 500
    7E84A3
  7. 600
    646A87
  8. 700
    4C516D
  9. 800
    3D4156
  10. 900
    2C2F3F
  11. 950
    1B1C25

Closest RAL, Tailwind and CSS colors

The nearest match to #4C516D in three color systems that designers and builders use.

ΔE is the distance in OKLab: under 2 is hard to see, over 10 is a clearly different color. Browse all RAL colors, the Tailwind palette or the 148 CSS color names. RAL values on screens are only a guide, so check a real color chart before you order paint.

The named colors that look closest to this one (ΔE in OKLab). Browse all shades of blue or search the color library.