#1A31CC

Color Details

HEX
#1A31CC
RGB
rgb(26, 49, 204)
HSL
hsl(232, 77%, 45%)
CMYK
cmyk(87%, 76%, 0%, 20%)
Best text on this color #FFFFFF (CR 8.92:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #1A31CC swatch

Embed this swatch

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

Open image

About #1A31CC

#1A31CC converts to RGB(26, 49, 204) and HSL(232, 77%, 45%). 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).

#1A31CC FAQs

What is the RGB value of #1A31CC?
RGB: 26, 49, 204. Copy as CSS: rgb(26, 49, 204)
Is #1A31CC a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #1A31CC?
Complement: #cbb41a.
Does #1A31CC have good contrast on white or black?
On white: 8.92:1 (AAA (normal text)). On black: 2.36:1 (Fails AA).