Liberty (#545AA7)

HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.

Preview

Sample Text
This is how text may look on this color.
Best text color: #FFFFFF
Contrast vs white: 6.18:1 — vs black: 3.40:1

Color values

  • HEX #545AA7
  • RGB rgb(84, 90, 167)
  • HSL hsl(235, 49%, 65%)
  • CMYK cmyk( 49.7, 46.11, 0, 34.51 )

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #545AA7 based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Liberty
#545AA7 Base
#A7A154
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Liberty
#545AA7 Base
#5483A7
#7854A7
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Liberty
#545AA7 Base
#A7545A
#5AA754
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Liberty
#545AA7 Base
#A77854
#83A754
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Liberty
#545AA7 Base
#A75483
#A7A154
#54A778
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Liberty
#545AA7 Base
#212341
#3A3F74
#464B8C
#6E73B6
#868AC2
#B8BBDC
Shades & Tints

Darker shades and lighter tints of Liberty, generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#090911
#18192F
#27294D
#363A6B
#454A89
Liberty #545AA7 Base
#7277B8
#9195C8
#B0B3D7
#CFD1E7
#EEEFF6
CSS & SCSS Snippets

Ready-to-use code snippets for #545AA7. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #545AA7;
}

/* Text */
.element {
    color: #545AA7;
}

/* Border */
.element {
    border: 1px solid #545AA7;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #545AA7,
        #D3CC7B
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #545AA7,
        #D3CC7B
    );
}
SCSS Variable
// SCSS variable
$liberty: #545AA7;

// With RGB channels (useful for rgba() usage)
$liberty-r: 84;
$liberty-g: 90;
$liberty-b: 167;

// Usage
.element {
    background-color: $liberty;
    color: rgba($liberty-r, $liberty-g, $liberty-b, 0.8);
}
Color Blindness Simulation

How Liberty appears to people with different types of color vision deficiency.

Normal Vision #545AA7 How the color appears with full color vision.
Deuteranopia #5858A7 Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
Protanopia #5959A7 Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #406868 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #616161 Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Liberty ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Liberty #545AA7 Base
UCLA Blue #536895 ΔE 6.31
Cerulean Blue #2A52BE ΔE 6.81
Violet Blue #324AB2 ΔE 6.83
Dark Blue-gray #666699 ΔE 6.86

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.