#1A124C

Color Details

HEX
#1A124C
RGB
rgb(26, 18, 76)
HSL
hsl(248, 62%, 18%)
CMYK
cmyk(66%, 76%, 0%, 70%)
Best text on this color #FFFFFF (CR 17.01:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #1A124C swatch

Embed this swatch

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

Open image

About #1A124C

#1A124C converts to RGB(26, 18, 76) and HSL(248, 62%, 18%). 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).

#1A124C FAQs

What is the RGB value of #1A124C?
RGB: 26, 18, 76. Copy as CSS: rgb(26, 18, 76)
Is #1A124C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #1A124C?
Complement: #434a11.
Does #1A124C have good contrast on white or black?
On white: 17.01:1 (AAA (normal text)). On black: 1.23:1 (Fails AA).