RoyalBlue — Color Codes & Palette
Color Codes
| Format | Value | |
|---|---|---|
| HEX | #4169E1 | |
| RGB | rgb(65, 105, 225) | |
| HSL | hsl(225, 73%, 57%) |
Shades of RoyalBlue
| #2754DD | #1F49C7 | #1B3FAC | #173592 | #132C77 | #0E225D | #0A1842 | #060F28 |
Tints of RoyalBlue
| #5377E4 | #6585E7 | #7693EA | #88A1EC | #9AAFEF | #ABBDF2 | #BDCBF5 | #CED9F7 |
Color Pairings & Harmony
|
Complementary
#E1B941
|
Analogous +30°
#6941E1
|
Analogous −30°
#41B9E1
|
Triadic +120°
#E14169
|
Triadic −120°
#69E141
|
Contrast & Accessibility (WCAG 2.1)
CSS Snippet
.element {
color: #4169E1;
}
.element-bg {
background-color: #4169E1;
color: #ffffff;
}
.element-border {
border: 2px solid #4169E1;
}
About RoyalBlue
RoyalBlue is a medium color with high saturation, defined by the hex code #4169E1. Its exact color model values are rgb(65, 105, 225) in RGB and hsl(225, 73%, 57%) in HSL (hue 225°, saturation 73%, lightness 57%). On a white background the contrast ratio is 4.85:1 — AA pass for normal text, and on black it is 4.33:1 — AA pass for large text only. Use RoyalBlue for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.
Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.
Open the Color Picker →