#2A30FB

Color Details

HEX
#2A30FB
RGB
rgb(42, 48, 251)
HSL
hsl(238, 96%, 57%)
CMYK
cmyk(83%, 81%, 0%, 2%)
Best text on this color #FFFFFF (CR 7.21:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #2A30FB swatch

Embed this swatch

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

Open image

About #2A30FB

#2A30FB converts to RGB(42, 48, 251) and HSL(238, 96%, 57%). 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).

#2A30FB FAQs

What is the RGB value of #2A30FB?
RGB: 42, 48, 251. Copy as CSS: rgb(42, 48, 251)
Is #2A30FB a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2A30FB?
Complement: #fbf428.
Does #2A30FB have good contrast on white or black?
On white: 7.21:1 (AAA (normal text)). On black: 2.91:1 (Fails AA).