#4169E1Royalblue is a rich, strongly saturated, mid-toned cool blue (#4169E1).
Royalblue reads as a rich, strongly saturated blue with a cool temperament. Colors in this range are commonly associated with trust, calm and competence, which makes royalblue a natural fit for corporate branding, links and interfaces that need to feel dependable.
With a 4.85:1 contrast ratio against white, royalblue is dark enough to carry white text at any size — use it confidently for buttons, headers and filled UI elements. Against black text it manages 4.33:1, so stick with white type on royalblue surfaces.
For pairings, the complement of royalblue sits at 45° — #E1B941, close to goldenrod — and delivers the strongest possible hue contrast; use it sparingly, in roughly a 90/10 split, so the two don't fight. For calmer schemes, the analogous colors 30° to either side keep the same cool temperature, while the triadic pair gives you a balanced three-color palette. All of these are computed for royalblue in the palettes below, with copy-ready codes.
Every palette below is computed from royalblue's position on the color wheel (hue 225°). Hover any swatch to see its code; click to copy.
Tints mix royalblue toward white; shades mix it toward black. Use the scale for hover states, borders and depth without leaving the hue.
WCAG 2.1 requires 4.5:1 for normal text (AA) and 3:1 for large text. Here's how royalblue performs, plus how it appears under the three main types of dichromatic color blindness (simulated approximation).
| Pairing | Ratio | Normal text | Large text |
|---|---|---|---|
| White text on Royalblue | 4.85:1 | AA | AAA |
| Black text on Royalblue | 4.33:1 | Fail | AA |
#5253C4#504DBD#43ADA8Copy-ready snippets. In CSS you can also use the keyword royalblue directly.
:root {
--royalblue: #4169E1;
--royalblue-rgb: 65, 105, 225;
--royalblue-tint: #96ACEE;
--royalblue-shade: #243A7C;
}
.btn-royalblue {
background: var(--royalblue);
color: #ffffff;
}
// tailwind.config.js
colors: {
'royalblue': {
DEFAULT: '#4169E1',
light: '#96ACEE',
dark: '#243A7C',
},
}
The closest CSS named colors by perceptual (Lab) distance.