#272F4F Color Information

Hex color code: #272F4F

#272F4F is a dramatic blue color. In RGB it is (39, 47, 79), and in HSL it is (228°, 34%, 23%). It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#272F4F
RGB
39, 47, 79
HSL
228°, 34%, 23%
CMYK
51%, 41%, 0%, 69%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #272F4F; 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 #272F4F; background-color: #272F4F15; }

Alert / Toast

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

Link / Accent

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

a { color: #272F4F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #272F4F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

39, 47, 79

Red: 39 / Green: 47 / Blue: 79

HSL

228°, 34%, 23%

Hue: 228° / Saturation: 34% / Lightness: 23%

CMYK

51%, 41%, 0%, 69%

Cyan: 51% / Magenta: 41% / Yellow: 0% / Key: 69%

What color is #272F4F?

#272F4F is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #272F4F to RGB:

rgb(39, 47, 79)HEX to RGB Converter →

HEX to HSL

Convert #272F4F to HSL:

hsl(228, 34%, 23%)RGB to HSL Converter →

HEX to CMYK

Convert #272F4F to CMYK:

cmyk(51%, 41%, 0%, 69%)Color Converter →

Color Meaning and Usage

A deep blue tone, #272F4F has RGB (39, 47, 79) and HSL (228°, 34%, 23%). Known for evoking creativity and luxury, this blue-purple hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #272F4F is #4F4727, creating high-contrast pairings. For softer combinations, try analogous colors like #27434F.

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

Contrast with #272F4F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #272F4F?

#272F4F is a deep blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #272F4F?

#272F4F in RGB is (39, 47, 79) - 39 red, 47 green, and 79 blue.

How to use #272F4F in CSS?

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

What colors go well with #272F4F?

#4F4727 (complementary), #27434F (analogous), and #0D101B (lighter shade) work well with #272F4F.