dodgerblue — #1E90FF
#1E90FF
rgb(30, 144, 255) · hsl(210, 100%, 56%) · CSS keyword dodgerblue
Can you put text on it?
| Contrast | Body text | Large text | |
|---|---|---|---|
| dodgerblue on white | 3.24:1 | — | AA |
| dodgerblue on black | 6.49:1 | AA | AA |
As a background, dodgerblue takes black text: 6.49:1 against 3.24:1 the other way. A colour picker will give you the hex and stop there, which is why so many palettes look right and fail an accessibility audit.
Using it
color: dodgerblue;
color: #1e90ff;
color: rgb(30 144 255);
All three are the same colour. The keyword is one of the 141 CSS named colours — a list settled in CSS 2.1 and added to exactly once since, when rebeccapurple was standardised in 2014.
Colours close to dodgerblue
- steelblue — #4682B4
- royalblue — #4169E1
- lightseagreen — #20B2AA
- cornflowerblue — #6495ED
- deepskyblue — #00BFFF
- darkcyan — #008B8B
Frequently asked questions
What is the hex code for dodgerblue?
The hex code for dodgerblue is #1E90FF — RGB 30, 144, 255.
Can I use dodgerblue for text?
Only for large text. dodgerblue reaches 3.24:1 against white — enough for the 3:1 of headings at 24px or 18.5px bold, short of the 4.5:1 body text needs.
Should text on dodgerblue be black or white?
Black — 6.49:1 against 3.24:1 the other way.
Other named colours
- firebrick — #B22222
- floralwhite — #FFFAF0
- forestgreen — #228B22
- fuchsia — #FF00FF
- gainsboro — #DCDCDC
- ghostwhite — #F8F8FF
- gold — #FFD700
- goldenrod — #DAA520
- gray — #808080
- green — #008000
- greenyellow — #ADFF2F
- honeydew — #F0FFF0
#1E90FF in full — tints, shades and harmonies · All named colours · Colour reference