#1B204C

Color Details

HEX
#1B204C
RGB
rgb(27, 32, 76)
HSL
hsl(234, 48%, 20%)
CMYK
cmyk(64%, 58%, 0%, 70%)
Best text on this color #FFFFFF (CR 15.47:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #1B204C swatch

Embed this swatch

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

Open image

About #1B204C

#1B204C converts to RGB(27, 32, 76) and HSL(234, 48%, 20%). 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).

#1B204C FAQs

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