HSL(205, 52%, 39%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(205,52%,39%)]

Color Conversions

Format Value CSS Usage
HSL hsl(205, 52%, 39%) color: hsl(205, 52%, 39%)
HEX #306C97 color: #306C97
RGB rgb(48, 108, 151) color: rgb(48, 108, 151)
CMYK cmyk(68%, 28%, 0%, 41%)
HSV hsv(205, 68%, 59%)
HWB hwb(205 19% 41%) color: hwb(205 19% 41%)
OKLCH oklch(0.5115 0.0923 242.74) color: oklch(0.5115 0.0923 242.74)
Lab lab(43.63 -5.06 -29.11) color: lab(43.63 -5.06 -29.11)
LCH lch(43.63 29.55 260.14) color: lch(43.63 29.55 260.14)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 5.65:1
vs Black 3.72:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#4A4B8D — rgb(74, 75, 141)

Deuteranopia (Green-blind)

#47428A — rgb(71, 66, 138)

Tritanopia (Blue-blind)

#338483 — rgb(51, 132, 131)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(205, 52%, 39%);

text

color: hsl(205, 52%, 39%);

border

border: 2px solid hsl(205, 52%, 39%);

gradient light

background: linear-gradient(to right, hsl(205, 52%, 59%), hsl(205, 52%, 39%));

gradient dark

background: linear-gradient(to right, hsl(205, 52%, 39%), hsl(205, 52%, 19%))

hex

background-color: #306C97;

tailwind

bg-[hsl(205,52%,39%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(205, 52%, 39%, 0.4);

css variable

--color-primary: hsl(205, 52%, 39%);

Related Colors

Use Cases for Blue

Corporate branding Trust signals Tech products Social media Primary buttons

Frequently Asked Questions

What are all the color codes for HSL(205, 52%, 39%)?

HEX: #306C97 | RGB: rgb(48, 108, 151) | CMYK: 68%, 28%, 0%, 41% | HSV: 205°, 68%, 59%. Copy any format from the conversion table above.

What colors go well with #306C97?

The complementary color is HSL(25, 52%, 39%). For a triadic harmony, use hues 205°, 325°, and 85°. For analogous combinations, try hues 175° and 235°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(205, 52%, 39%) in CSS?

As HSL: color: hsl(205, 52%, 39%); — As HEX: color: #306C97; — As RGB: color: rgb(48, 108, 151); — Tailwind CSS: bg-[hsl(205,52%,39%)] — CSS variable: --color-primary: hsl(205, 52%, 39%);