Royal Blue (#4169E1)

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: 4.85:1 — vs black: 4.33:1

Color values

  • HEX #4169E1
  • RGB rgb(65, 105, 225)
  • HSL hsl(225, 71%, 88%)
  • CMYK cmyk( 71.11, 53.33, 0, 11.76 )
  • Websafe #3366CC

Tags

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

Color Harmonies

Colors that pair well with #4169E1 based on color theory relationships.

Complementary

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

Royal Blue
#4169E1 Base
#E1B941
Analogous

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

Royal Blue
#4169E1 Base
#41B9E1
#6941E1
Triadic

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

Royal Blue
#4169E1 Base
#E14169
#69E141
Split-Complementary

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

Royal Blue
#4169E1 Base
#E16941
#B9E141
Tetradic (Square)

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

Royal Blue
#4169E1 Base
#E141B9
#E1B941
#41E169
Monochromatic

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

Royal Blue
#4169E1 Base
#132C76
#1D44B8
#224FD7
#6485E7
#839DEB
#C5D1F6
Shades & Tints

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

Shades (darker)

#030816
#0B1944
#122A71
#193B9F
#204BCD
Royal Blue #4169E1 Base
#6384E6
#849EEC
#A6B9F1
#C7D3F6
#E9EEFC
CSS & SCSS Snippets

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

CSS Properties
/* Background */
.element {
    background-color: #4169E1;
}

/* Text */
.element {
    color: #4169E1;
}

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

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #4169E1,
        #F6ECCC
    );
}
SCSS Variable
// SCSS variable
$royal-blue: #4169E1;

// With RGB channels (useful for rgba() usage)
$royal-blue-r: 65;
$royal-blue-g: 105;
$royal-blue-b: 225;

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

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

Normal Vision #4169E1 How the color appears with full color vision.
Deuteranopia #5F5FE1 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 #6666E1 Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #008181 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #717171 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 Royal Blue ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Royal Blue #4169E1 Base
Han Blue #446CCF ΔE 2.49
Ultramarine Blue #4166F5 ΔE 2.79
Brandeis Blue #0070FF ΔE 4.75
Blue (Crayola) #1F75FE ΔE 5.77

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.