#1E204F

Color Details

HEX
#1E204F
RGB
rgb(30, 32, 79)
HSL
hsl(238, 45%, 21%)
CMYK
cmyk(62%, 59%, 0%, 69%)
Best text on this color #FFFFFF (CR 15.28:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #1E204F swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #1E204F

#1E204F converts to RGB(30, 32, 79) and HSL(238, 45%, 21%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.

Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).

#1E204F FAQs

What is the RGB value of #1E204F?
RGB: 30, 32, 79. Copy as CSS: rgb(30, 32, 79)
Is #1E204F a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #1E204F?
Complement: #4e4c1d.
Does #1E204F have good contrast on white or black?
On white: 15.28:1 (AAA (normal text)). On black: 1.37:1 (Fails AA).