HSL(234, 49%, 32%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(234,49%,32%)]

Color Conversions

Format Value CSS Usage
HSL hsl(234, 49%, 32%) color: hsl(234, 49%, 32%)
HEX #2A327A color: #2A327A
RGB rgb(42, 50, 122) color: rgb(42, 50, 122)
CMYK cmyk(66%, 59%, 0%, 52%)
HSV hsv(234, 66%, 48%)
HWB hwb(234 16% 52%) color: hwb(234 16% 52%)
OKLCH oklch(0.3553 0.1216 273.69) color: oklch(0.3553 0.1216 273.69)
Lab lab(24.25 21.14 -42.2) color: lab(24.25 21.14 -42.2)
LCH lch(24.25 47.2 296.61) color: lch(24.25 47.2 296.61)

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 11.44:1
vs Black 1.84: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)

#2D2E69 — rgb(45, 46, 105)

Deuteranopia (Green-blind)

#2D2C64 — rgb(45, 44, 100)

Tritanopia (Blue-blind)

#2A5B58 — rgb(42, 91, 88)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(234, 49%, 32%);

text

color: hsl(234, 49%, 32%);

border

border: 2px solid hsl(234, 49%, 32%);

gradient light

background: linear-gradient(to right, hsl(234, 49%, 52%), hsl(234, 49%, 32%));

gradient dark

background: linear-gradient(to right, hsl(234, 49%, 32%), hsl(234, 49%, 12%))

hex

background-color: #2A327A;

tailwind

bg-[hsl(234,49%,32%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(234, 49%, 32%, 0.4);

css variable

--color-primary: hsl(234, 49%, 32%);

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(234, 49%, 32%)?

HEX: #2A327A | RGB: rgb(42, 50, 122) | CMYK: 66%, 59%, 0%, 52% | HSV: 234°, 66%, 48%. Copy any format from the conversion table above.

What colors go well with #2A327A?

The complementary color is HSL(54, 49%, 32%). For a triadic harmony, use hues 234°, 354°, and 114°. For analogous combinations, try hues 204° and 264°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(234, 49%, 32%) in CSS?

As HSL: color: hsl(234, 49%, 32%); — As HEX: color: #2A327A; — As RGB: color: rgb(42, 50, 122); — Tailwind CSS: bg-[hsl(234,49%,32%)] — CSS variable: --color-primary: hsl(234, 49%, 32%);