HSL(206, 46%, 29%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(206,46%,29%)]

Color Conversions

Format Value CSS Usage
HSL hsl(206, 46%, 29%) color: hsl(206, 46%, 29%)
HEX #284E6C color: #284E6C
RGB rgb(40, 78, 108) color: rgb(40, 78, 108)
CMYK cmyk(63%, 28%, 0%, 58%)
HSV hsv(206, 63%, 42%)
HWB hwb(206 16% 58%) color: hwb(206 16% 58%)
OKLCH oklch(0.41 0.0667 244.3) color: oklch(0.41 0.0667 244.3)
Lab lab(31.77 -3.48 -21.4) color: lab(31.77 -3.48 -21.4)
LCH lch(31.77 21.68 260.76) color: lch(31.77 21.68 260.76)

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 8.76:1
vs Black 2.4:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#383965 — rgb(56, 57, 101)

Deuteranopia (Green-blind)

#363363 — rgb(54, 51, 99)

Tritanopia (Blue-blind)

#2A5F5E — rgb(42, 95, 94)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(206, 46%, 29%);

text

color: hsl(206, 46%, 29%);

border

border: 2px solid hsl(206, 46%, 29%);

gradient light

background: linear-gradient(to right, hsl(206, 46%, 49%), hsl(206, 46%, 29%));

gradient dark

background: linear-gradient(to right, hsl(206, 46%, 29%), hsl(206, 46%, 9%))

hex

background-color: #284E6C;

tailwind

bg-[hsl(206,46%,29%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(206, 46%, 29%, 0.4);

css variable

--color-primary: hsl(206, 46%, 29%);

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(206, 46%, 29%)?

HEX: #284E6C | RGB: rgb(40, 78, 108) | CMYK: 63%, 28%, 0%, 58% | HSV: 206°, 63%, 42%. Copy any format from the conversion table above.

What colors go well with #284E6C?

The complementary color is HSL(26, 46%, 29%). For a triadic harmony, use hues 206°, 326°, and 86°. For analogous combinations, try hues 176° and 236°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(206, 46%, 29%) in CSS?

As HSL: color: hsl(206, 46%, 29%); — As HEX: color: #284E6C; — As RGB: color: rgb(40, 78, 108); — Tailwind CSS: bg-[hsl(206,46%,29%)] — CSS variable: --color-primary: hsl(206, 46%, 29%);