Royal Blue Color Code
Royal Blue·#4169E1
Royal Blue is a published CSS named color that balances authority, clarity, and brightness. Use this page to inspect its exact code values, compare adjacent blues, and move it into conversion, palette, or brand-token workflows.
Tonal Scale
Contrast Checks
White text on this color
Buttons, badges, and filled actions.
Dark text on this color
Large headings and selective UI.
This color on light surface
Links, borders, and icons on light UI.
Professional Reference
Accessibility Matrix
White text on this color
White text placed on the current color.
Dark text on this color
Dark text or headings on the current color.
This color on light surface
Use this color for links, strokes, or icons on light UI.
This color on dark surface
Use this color inside dark shells for strokes, tags, or icons.
Where It Works
- Links, CTAs, data highlights, and enterprise accents.
- Brighter than navy, steadier than electric blues.
- Pairs with cool white, slate neutrals, and cyan accents.
Reference Notes
Royal Blue is sourced from the published CSS Standard Colors library and retained here as a searchable reference swatch for product and interface reference work.
Trust-building blues for enterprise and SaaS.
Related Colors
Palette Starting Points
Implementation Snippets
:root {
--color-royal-blue: #4169E1;
--color-royal-blue-rgb: 65 105 225;
}class="bg-[#4169E1] text-white"
class="hover:bg-[#2F4CA2] ring-1 ring-[#4169E1]"{
"royalBlue": "#4169E1",
"royalBlueRgb": [65, 105, 225],
"royalBlueHsl": [225, 73, 57]
}