#2D40E3
Color Details
HEX
#2D40E3
RGB
rgb(45, 64, 227)
HSL
hsl(234, 76%, 53%)
CMYK
cmyk(80%, 72%, 0%, 11%)
Best text on this color
#FFFFFF (CR 7.11:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #2D40E3
#2D40E3 converts to RGB(45, 64, 227) and HSL(234, 76%, 53%). 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).
#2D40E3 FAQs
What is the RGB value of #2D40E3?
RGB: 45, 64, 227. Copy as CSS:
rgb(45, 64, 227)
Is #2D40E3 a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2D40E3?
Complement: #e2d02c.
Does #2D40E3 have good contrast on white or black?
On white: 7.11:1 (AAA (normal text)).
On black: 2.95:1 (Fails AA).