#254F8E Color Information
Hex color code: #254F8E
A calming blue shade, #254F8E appears as (37, 79, 142) in RGB and (216°, 59%, 35%) in HSL. It is often used for branding and logos.
Shades
color: #254F8E; background-color: #254F8E; border-color: #254F8E; box-shadow: 0 0 10px #254F8E; border: 2px solid #254F8E;
bg-[#254F8E] text-[#254F8E] border-[#254F8E] shadow-[0_0_10px_254F8E]
Generate Gradient
background: linear-gradient(90deg, #254F8E, #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 #254F8E in the color wheel.
RGB, HSL and CMYK Values
RGB
37, 79, 142
Red: 37 / Green: 79 / Blue: 142
HSL
216°, 59%, 35%
Hue: 216° / Saturation: 59% / Lightness: 35%
CMYK
74%, 44%, 0%, 44%
Cyan: 74% / Magenta: 44% / Yellow: 0% / Key: 44%
What color is #254F8E?
#254F8E is a blue-purple hue associated with creativity and luxury.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#254F8E is a serene blue color with RGB values of 37, 79, 142 and HSL of 216°, 59%, 35%. 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 #254F8E is #8E6425, creating high-contrast pairings. For softer combinations, try analogous colors like #25838E.
Use #254F8E in CSS: color: #254F8E or background-color: #254F8E. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #254F8E
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 #254F8E?
#254F8E is a serene blue color - a blue-purple hue that evokes creativity and luxury.
What is the RGB value of #254F8E?
#254F8E in RGB is (37, 79, 142) - 37 red, 79 green, and 142 blue.
How to use #254F8E in CSS?
Use #254F8E directly in your CSS properties like color or background-color.