#154875 Color Information

Hex color code: #154875

The hex color #154875 is a calming blue with RGB values of (21, 72, 117) and HSL of (208°, 70%, 27%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#154875
RGB
21, 72, 117
HSL
208°, 70%, 27%
CMYK
82%, 38%, 0%, 54%

Shades

CSS Usage
color: #154875;
background-color: #154875;
border-color: #154875;
box-shadow: 0 0 10px #154875;
border: 2px solid #154875;
Tailwind Usage
bg-[#154875]
text-[#154875]
border-[#154875]
shadow-[0_0_10px_154875]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #154875, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #154875; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #154875; color: #FFFFFF; }

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.

.card-accent { border: 2px solid #154875; background-color: #15487515; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #15487520; border-left: 4px solid #154875; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #154875; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #154875 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

21, 72, 117

Red: 21 / Green: 72 / Blue: 117

HSL

208°, 70%, 27%

Hue: 208° / Saturation: 70% / Lightness: 27%

CMYK

82%, 38%, 0%, 54%

Cyan: 82% / Magenta: 38% / Yellow: 0% / Key: 54%

What color is #154875?

#154875 is a cyan-blue hue associated with trust and professionalism.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #154875 to RGB:

rgb(21, 72, 117)HEX to RGB Converter →

HEX to HSL

Convert #154875 to HSL:

hsl(208, 70%, 27%)RGB to HSL Converter →

HEX to CMYK

Convert #154875 to CMYK:

cmyk(82%, 38%, 0%, 54%)Color Converter →

Color Meaning and Usage

#154875 is a tranquil blue color with RGB values of 21, 72, 117 and HSL of 208°, 70%, 27%. This cyan-blue hue evokes trust and professionalism, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #154875 is #754215, creating high-contrast pairings. For softer combinations, try analogous colors like #157572.

Use #154875 in CSS: color: #154875 or background-color: #154875. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #154875

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 2.22:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #154875?

#154875 is a tranquil blue color - a cyan-blue hue that evokes trust and professionalism.

What is the RGB value of #154875?

#154875 in RGB is (21, 72, 117) - 21 red, 72 green, and 117 blue.

How to use #154875 in CSS?

Use #154875 directly in your CSS properties like color or background-color.

What colors go well with #154875?

#754215 (complementary), #157572 (analogous), and #092034 (lighter shade) work well with #154875.