#1F28AD Color Information
Hex color code: #1F28AD
#1F28AD is a cool blue color. In RGB it is (31, 40, 173), and in HSL it is (236°, 70%, 40%). It is frequently seen in web interfaces.
Shades
color: #1F28AD; background-color: #1F28AD; border-color: #1F28AD; box-shadow: 0 0 10px #1F28AD; border: 2px solid #1F28AD;
bg-[#1F28AD] text-[#1F28AD] border-[#1F28AD] shadow-[0_0_10px_1F28AD]
Generate Gradient
background: linear-gradient(90deg, #1F28AD, #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 #1F28AD in the color wheel.
RGB, HSL and CMYK Values
RGB
31, 40, 173
Red: 31 / Green: 40 / Blue: 173
HSL
236°, 70%, 40%
Hue: 236° / Saturation: 70% / Lightness: 40%
CMYK
82%, 77%, 0%, 32%
Cyan: 82% / Magenta: 77% / Yellow: 0% / Key: 32%
What color is #1F28AD?
#1F28AD is a blue-purple hue associated with creativity and luxury.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A tranquil blue tone, #1F28AD has RGB (31, 40, 173) and HSL (236°, 70%, 40%). Known for evoking creativity and luxury, this blue-purple hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #1F28AD is #ADA41F, creating high-contrast pairings. For softer combinations, try analogous colors like #1F70AD.
Use #1F28AD in CSS: color: #1F28AD or background-color: #1F28AD. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #1F28AD
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 #1F28AD?
#1F28AD is a tranquil blue color - a blue-purple hue that evokes creativity and luxury.
What is the RGB value of #1F28AD?
#1F28AD in RGB is (31, 40, 173) - 31 red, 40 green, and 173 blue.
How to use #1F28AD in CSS?
Use #1F28AD directly in your CSS properties like color or background-color.