Description
Royalblue (read as "royal blue") has a hue of 225°, saturation 73% and lightness 57%, which places it in the blue family. Its strongest channel is blue (225).
Using royalblue in CSS
.title { color: royalblue; }
.box { background: royalblue; border-color: #4169e1; }
.soft { background: rgb(65 105 225 / 20%); } /* royalblue at 20% opacity */Named colors are case-insensitive and supported by every browser. Most of the 148 names come from the X11 color list adopted by early browsers.
Similar named colors
| Color | HEX | RGB | ΔE 2000 |
|---|---|---|---|
| slateblue | #6a5acd | 106, 90, 205 | 9.1 |
| mediumslateblue | #7b68ee | 123, 104, 238 | 9.5 |
| steelblue | #4682b4 | 70, 130, 180 | 10.5 |
| slategray | #708090 | 112, 128, 144 | 13.6 |
| mediumpurple | #9370db | 147, 112, 219 | 14.4 |
| cornflowerblue | #6495ed | 100, 149, 237 | 14.6 |
| lightslategray | #778899 | 119, 136, 153 | 14.6 |
| dodgerblue | #1e90ff | 30, 144, 255 | 14.9 |
ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.
Pairs well with
Readability
Contrast with white text: 4.85:1; with black text: 4.33:1. White body text on royalblue meets WCAG AA.