Dodger blue color (#1E90FF)
#1E90FF (Dodger blue) is a vivid blue colour. It is rgb(30, 144, 255) in RGB and hsl(210, 100%, 56%) in HSL. Text in black reads better on it: the contrast is 6.49:1 against black and 3.24:1 against white.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#1E90FF}:\quad R=\mathrm{1E}_{16}=30,\ G=\mathrm{90}_{16}=144,\ B=\mathrm{FF}_{16}=255 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
210^\circ + 180^\circ = 30^\circ ;\Rightarrow; \mathrm{#FF8D1E} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#1E90FF} = \mathrm{rgb}(30, 144, 255) \]
\[ \mathrm{#1E90FF}:\quad R=\mathrm{1E}_{16}=30,\ G=\mathrm{90}_{16}=144,\ B=\mathrm{FF}_{16}=255 \]
\[ H=210^\circ,\quad S=100\%,\quad L=56\% \]
\[ 210^\circ + 180^\circ = 30^\circ ;\Rightarrow; \mathrm{#FF8D1E} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 3.24:1\ \text{(on white)} \]Dodger blue in every colour format
| Format | Value |
|---|---|
| HEX | #1E90FF |
| RGB | rgb(30, 144, 255) |
| RGB (percent) | rgb(11.8%, 56.5%, 100.0%) |
| HSL | hsl(210, 100%, 56%) |
| HSV / HSB | hsv(210, 88%, 100%) |
| CMYK | cmyk(88%, 44%, 0%, 0%) |
| Decimal | 2003199 |
| Description | vivid blue |
| CSS name | dodgerblue |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 3.24:1 | fail | pass | fail | fail |
| Black text | 6.49:1 | pass | pass | fail | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #05182A #0A3055 #0F4880 #1460AA #1978D5 |
| This colour | #1E90FF |
| Tints (mixed with white) | #44A3FF #69B5FF #8FC8FF #B4DAFF #DAEDFF |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #5599FF | 8 |
| Deuteranopia | #2386FD | 7 |
| Tritanopia | #00ABBB | 60 |
| Grayscale | #8F8F8F | - |
Nearest named colours
| Name | Hex |
|---|---|
| Cornflower blue | #6495ED |
| Royal blue | #4169E1 |
| Slate blue | #6A5ACD |
| Medium purple | #9370DB |
Questions
What is the RGB value of #1E90FF?
rgb(30, 144, 255): red 30, green 144, blue 255.
What is the HSL value of #1E90FF?
hsl(210, 100%, 56%): a hue of 210°, 100% saturation and 56% lightness.
What is the complementary colour of #1E90FF?
#FF8D1E, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #E16F00.
Should I use white or black text on #1E90FF?
Black. White gives 3.24:1 and black 6.49:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #1E90FF?
cmyk(88%, 44%, 0%, 0%). This is a simple formula conversion; printed colours depend on the printer profile.
Is #1E90FF a named colour?
Yes: it is the CSS colour name "dodgerblue".