#1218BA Color Information
Hex color code: #1218BA
The hex color #1218BA is a eye-catching blue with RGB values of (18, 24, 186) and HSL of (238°, 82%, 40%). It is widely used in graphic design.
Shades
color: #1218BA; background-color: #1218BA; border-color: #1218BA; box-shadow: 0 0 10px #1218BA; border: 2px solid #1218BA;
bg-[#1218BA] text-[#1218BA] border-[#1218BA] shadow-[0_0_10px_1218BA]
Generate Gradient
background: linear-gradient(90deg, #1218BA, #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 #1218BA in the color wheel.
RGB, HSL and CMYK Values
RGB
18, 24, 186
Red: 18 / Green: 24 / Blue: 186
HSL
238°, 82%, 40%
Hue: 238° / Saturation: 82% / Lightness: 40%
CMYK
90%, 87%, 0%, 27%
Cyan: 90% / Magenta: 87% / Yellow: 0% / Key: 27%
What color is #1218BA?
#1218BA is a highly saturated hue associated with energy and excitement.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A eye-catching blue tone, #1218BA has RGB (18, 24, 186) and HSL (238°, 82%, 40%). Known for evoking energy and excitement, this highly saturated hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #1218BA is #BAB412, creating high-contrast pairings. For softer combinations, try analogous colors like #126CBA.
Use #1218BA in CSS: color: #1218BA or background-color: #1218BA. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #1218BA
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 #1218BA?
#1218BA is a eye-catching blue color - a highly saturated hue that evokes energy and excitement.
What is the RGB value of #1218BA?
#1218BA in RGB is (18, 24, 186) - 18 red, 24 green, and 186 blue.
How to use #1218BA in CSS?
Use #1218BA directly in your CSS properties like color or background-color.