#2A54DF Color Information
Hex color code: #2A54DF
The hex color #2A54DF is a striking blue with RGB values of (42, 84, 223) and HSL of (226°, 74%, 52%). It is often used for branding and logos.
Shades
color: #2A54DF; background-color: #2A54DF; border-color: #2A54DF; box-shadow: 0 0 10px #2A54DF; border: 2px solid #2A54DF;
bg-[#2A54DF] text-[#2A54DF] border-[#2A54DF] shadow-[0_0_10px_2A54DF]
Generate Gradient
background: linear-gradient(90deg, #2A54DF, #FF5733);
Preview in UI
Button
Badge
Text Highlight
The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.
Card
Card Title
This card uses your color as a border accent.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #2A54DF in the color wheel.
RGB, HSL and CMYK Values
RGB
42, 84, 223
Red: 42 / Green: 84 / Blue: 223
HSL
226°, 74%, 52%
Hue: 226° / Saturation: 74% / Lightness: 52%
CMYK
81%, 62%, 0%, 13%
Cyan: 81% / Magenta: 62% / Yellow: 0% / Key: 13%
What color is #2A54DF?
#2A54DF is a blue-purple hue associated with creativity and luxury.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#2A54DF is a bold blue color with RGB values of 42, 84, 223 and HSL of 226°, 74%, 52%. This blue-purple hue evokes creativity and luxury, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #2A54DF is #DFB52A, creating high-contrast pairings. For softer combinations, try analogous colors like #2AAFDF.
Use #2A54DF in CSS: color: #2A54DF or background-color: #2A54DF. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #2A54DF
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #2A54DF?
#2A54DF is a bold blue color - a blue-purple hue that evokes creativity and luxury.
What is the RGB value of #2A54DF?
#2A54DF in RGB is (42, 84, 223) - 42 red, 84 green, and 223 blue.
How to use #2A54DF in CSS?
Use #2A54DF directly in your CSS properties like color or background-color.