Free Accessible CSS Gradient Generator

← All Colors
#1E90FF Dodger Blue

Dodger Blue Hex Code #1E90FF

Dodger Blue is a medium, vivid blue with the hex code #1E90FF. In RGB it is 30, 144, 255, and in HSL it is 210°, 100%, 56%. It is one of the 148 named colors in CSS, so you can write “dodgerblue” instead of the hex code.

HEX
#1E90FF
RGB
rgb(30, 144, 255)
HSL
hsl(210, 100%, 56%)
HSV
hsv(210°, 88%, 100%)
CMYK
cmyk(88%, 44%, 0%, 0%)
CSS name
dodgerblue

CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.

About Dodger Blue

On a white background Dodger Blue has a contrast ratio of 3.24:1 (AA Large), and on black 6.49:1 (AA). Black text is the better choice on top of it.

It sits on the cool side of the color wheel, a range that tends to feel calm and appears to recede.

Blue is the most common color in interfaces. It signals trust and calm, which is why banks, software and healthcare brands favour it.

Shades and tints of Dodger Blue

Tints mix Dodger Blue with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.

Color harmonies for Dodger Blue

These schemes are calculated from Dodger Blue on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.

Analogous

Open in the color wheel

Triadic

Open in the color wheel

Tetradic

Open in the color wheel

Square

Open in the color wheel

On the artist’s RYB wheel, the complement of Dodger Blue is #FF7E1E, close to the named color Dark Orange.

Dodger Blue contrast and accessibility

WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Dodger Blue scores against white and black.

Contrast of Dodger Blue with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 3.24:1 ✕ Fail ✓ Pass ✕ Fail ✕ Fail
Black (#000000) 6.49:1 ✓ Pass ✓ Pass ✕ Fail ✓ Pass
Aa White text on Dodger Blue3.24:1
Aa Black text on Dodger Blue6.49:1

Dodger Blue and color blindness

These are approximate previews of how Dodger Blue can look with the main types of color vision deficiency.

Protanopia #5599FF

Dodger Blue shifts slightly.

Deuteranopia #2386FD

Dodger Blue shifts slightly.

Tritanopia #00ABBB

Dodger Blue changes noticeably.

Achromatopsia #8F8F8F

Dodger Blue changes noticeably.

Gradients with Dodger Blue

Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.

Dodger Blue to a lighter tint

background: linear-gradient(135deg, #1e90ff 0%, #a5d3ff 100%);

Dodger Blue to its analogous neighbour

background: linear-gradient(135deg, #1e90ff 0%, #1e1fff 100%);

Dodger Blue to its complement

background: linear-gradient(135deg, #1e90ff 0%, #ff8d1e 100%);

Colors similar to Dodger Blue

How each close match differs from Dodger Blue.

More blue colors →

Use Dodger Blue in code

CSS
.element {
  color: #1e90ff;
  background-color: #1e90ff;
  border-color: dodgerblue;   /* dodgerblue is a valid CSS color name */
}
CSS variable
:root {
  --color-dodger-blue: #1e90ff;
}
Tailwind
<!-- Tailwind arbitrary values -->
<div class="bg-[#1e90ff] text-[#1e90ff] border-[#1e90ff]"></div>

/* Tailwind v4 theme color */
@theme {
  --color-dodger-blue: #1e90ff;
}

Dodger Blue questions

What is the hex code for Dodger Blue?

The hex code for Dodger Blue is #1E90FF. In RGB that is rgb(30, 144, 255), and in HSL it is hsl(210, 100%, 56%).

What is the complementary color of Dodger Blue?

On the RGB (screen) color wheel, the complement of Dodger Blue is #FF8D1E, which is close to Dark Orange. On the artist’s RYB wheel it is #FF7E1E, close to Dark Orange.

Should I use white or black text on Dodger Blue?

Black text. It has a contrast ratio of 6.49:1 against Dodger Blue, which is WCAG AA. The other option scores 3.24:1.

Is Dodger Blue accessible as a text color on white?

Only for large text. Dodger Blue on white scores 3.24:1, which passes WCAG AA for large text (3:1) but not for normal text (4.5:1).

What are darker and lighter shades of Dodger Blue?

Mixing Dodger Blue with black gives #1873CC, #125699, #0C3A66, #061D33 (20% to 80% black). Mixing it with white gives #4BA6FF, #78BCFF, #A5D3FF, #D2E9FF (20% to 80% white).

More color tools