Royal Blue color #4169E1
Royal Blue is one of the CSS named colors (keyword royalblue) with the hex code #4169E1 — RGB 65, 105, 225, HSL 225°, 73%, 57%.
#4169E1Royal Blue
Color codes
- HEX
#4169E1- RGB
rgb(65, 105, 225)- HSL
hsl(225, 73%, 57%)- CMYK
71%, 53%, 0%, 12%- OKLCH
oklch(56% 0.188 266.4)- CSS keyword
royalblue
Tints and shades
#F0F5FF#C9DAFF#A3BEFF#7CA2FF#5783FE#4169E1#2C4FC5#1934A9#0B158E#050066#010036
Color harmonies
Complementary
#4169E1#926F00
Analogous
#007EB2#4169E1#8254D3
Triadic
#4169E1#CB3532#008D2E
Split complementary
#4169E1#AF5B00#717D00
Tetradic
#4169E1#C33377#926F00#008873
Contrast with text
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Royal Blue text on white | 4.85 : 1 | 73 | AA — body text |
| Royal Blue text on black | 4.33 : 1 | -29 | AA for large text only |
| White text on Royal Blue | 4.85 : 1 | -79 | AA — body text |
| Black text on Royal Blue | 4.33 : 1 | 31 | AA for large text only |
Palettes with this color
- Royal Blue & Chocolate Brown
- Warm Blue & Medium Green
- Azul & Dusty Orange
- Rusty Red & Light Sea Green
- Cornflower & Navy Blue
- Soft Green & Dark Forest Green
Frequently asked questions
What is the hex code of Royal Blue?
Royal Blue has the hex code #4169E1, which is RGB 65, 105, 225 and HSL 225°, 73%, 57%.
Which text color reads best on Royal Blue?
White text: contrast 4.85 : 1 (black text: 4.33 : 1).
Which colors go well with Royal Blue?
Its complementary color is #926F00; analogous colors are #007EB2 and #8254D3; a triadic set adds #CB3532 and #008D2E.
Similar colors
- Cerulean Blue #056EEE
- Warm Blue #4B57DB
- Azul #1D5DEC
- Bright Blue #0165FC
- Clear Blue #247AFD
- Slate Blue #6A5ACD
- Windows Blue #3778BF
- Cornflower #6A79F7
- Mid Blue #276AB3
- Medium Slate Blue #7B68EE
Sources and licences
- CSS Color Module Level 4 — named colors (W3C Software and Document License)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)