Royalblue colour (#4169E1)
Royalblue is medium a blue with hex code #4169E1, one of the 148 named colours every browser understands, so you can write color: ${name} directly in CSS. In RGB it is 65, 105, 225; in HSL 225°, 73%, 57%. Use the tool to explore shades and harmonies.
How to use the Royalblue colour
- The colour is pre-filled; click Explore to see all formats, shades and harmonies.
- Edit the value to try a variation.
- Copy the code you need.
Royalblue in every format
| Format | Value |
|---|---|
| HEX | #4169E1 |
| RGB | rgb(65, 105, 225) |
| RGB (0–1) | 0.255, 0.412, 0.882 |
| HSL | hsl(225, 73%, 57%) |
| CMYK (approx.) | 71%, 53%, 0%, 12% |
| CSS | color: royalblue; |
Shades and tints of Royalblue
Same hue and saturation, lightness from 90% to 10%:
#d3dcf8 | #a7b9f1 | #7b97ea | #4f74e3 | #2251dd | #1c41b0 | #153184 | #0e2058 | #07102c |
Colours that go with Royalblue
| Harmony | Colours | |
|---|---|---|
| Complementary | #e1b941 | |
| Triadic | #e14169 | #69e141 |
| Analogous | #6941e1 | #41b9e1 |
Similar named colours
The closest CSS named colours by RGB distance, useful when you need a keyword instead of a hex code or want a near match:
| Colour | HEX | Difference |
|---|---|---|
| slateblue | #6a5acd | close |
| steelblue | #4682b4 | close |
| cornflowerblue | #6495ed | close |
| mediumslateblue | #7b68ee | close |
| dodgerblue | #1e90ff | close |
Accessibility
Contrast ratio of Royalblue against white is 4.85:1 (passes WCAG AA for normal text) and against black 4.33:1 (fails). Use Royalblue for text on white backgrounds.
Frequently asked questions
What is the hex code for Royalblue?
#4169E1.
What is Royalblue in RGB?
rgb(65, 105, 225).
What colour is complementary to Royalblue?
#e1b941, directly opposite on the colour wheel.
Privacy
This tool runs entirely inside your browser using WebAssembly and the Canvas/File APIs. Your files are never uploaded to ToolFlint or any third party; you can verify this in your browser's network tab or by switching to airplane mode after the page loads. Read how we process files.
Last updated 2026-09-23.