#0541CC
Color Details
HEX
#0541CC
RGB
rgb(5, 65, 204)
HSL
hsl(222, 95%, 41%)
CMYK
cmyk(98%, 68%, 0%, 20%)
Best text on this color
#FFFFFF (CR 7.97:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #0541CC
#0541CC converts to RGB(5, 65, 204) and HSL(222, 95%, 41%). 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).
#0541CC FAQs
What is the RGB value of #0541CC?
RGB: 5, 65, 204. Copy as CSS:
rgb(5, 65, 204)
Is #0541CC a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #0541CC?
Complement: #cc9005.
Does #0541CC have good contrast on white or black?
On white: 7.97:1 (AAA (normal text)).
On black: 2.63:1 (Fails AA).