#308271 Color Information

Hex color code: #308271

The hex color #308271 is a pastel cyan with RGB values of (48, 130, 113) and HSL of (168°, 46%, 35%). It is commonly used in modern UI design.

Try:
Color NameSea Green
HEX
#308271
RGB
48, 130, 113
HSL
168°, 46%, 35%
CMYK
63%, 0%, 13%, 49%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #308271; 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 #308271; background-color: #30827115; }

Alert / Toast

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

Link / Accent

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

a { color: #308271; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 130, 113

Red: 48 / Green: 130 / Blue: 113

HSL

168°, 46%, 35%

Hue: 168° / Saturation: 46% / Lightness: 35%

CMYK

63%, 0%, 13%, 49%

Cyan: 63% / Magenta: 0% / Yellow: 13% / Key: 49%

What color is #308271?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #308271 to RGB:

rgb(48, 130, 113)HEX to RGB Converter →

HEX to HSL

Convert #308271 to HSL:

hsl(168, 46%, 35%)RGB to HSL Converter →

HEX to CMYK

Convert #308271 to CMYK:

cmyk(63%, 0%, 13%, 49%)Color Converter →

Color Meaning and Usage

#308271 is a subtle cyan color with RGB values of 48, 130, 113 and HSL of 168°, 46%, 35%. This cyan-blue hue evokes trust and professionalism, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #308271 is #823041, creating high-contrast pairings. For softer combinations, try analogous colors like #308249.

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

Contrast with #308271

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

Contrast Ratio: 4.56:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #308271?

#308271 is a subtle cyan color - a cyan-blue hue that evokes trust and professionalism.

What is the RGB value of #308271?

#308271 in RGB is (48, 130, 113) - 48 red, 130 green, and 113 blue.

How to use #308271 in CSS?

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

What colors go well with #308271?

#823041 (complementary), #308249 (analogous), and #1C4A41 (lighter shade) work well with #308271.