HSL(234, 32%, 15%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(234, 32%, 15%) color: hsl(234, 32%, 15%)
HEX #1A1C32 color: #1A1C32
RGB rgb(26, 28, 50) color: rgb(26, 28, 50)
CMYK cmyk(48%, 44%, 0%, 80%)
HSV hsv(235, 48%, 20%)
HWB hwb(235 10% 80%) color: hwb(235 10% 80%)
OKLCH oklch(0.2362 0.0422 278.68) color: oklch(0.2362 0.0422 278.68)
Lab lab(11.14 6.08 -14.86) color: lab(11.14 6.08 -14.86)
LCH lch(11.14 16.06 292.25) color: lch(11.14 16.06 292.25)

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 16.72:1
vs Black 1.26: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)

#1B1B2D — rgb(27, 27, 45)

Deuteranopia (Green-blind)

#1B1B2B — rgb(27, 27, 43)

Tritanopia (Blue-blind)

#1A2828 — rgb(26, 40, 40)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(234, 32%, 35%), hsl(234, 32%, 15%));

gradient dark

background: linear-gradient(to right, hsl(234, 32%, 15%), hsl(234, 32%, 0%))

hex

background-color: #1A1C32;

tailwind

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

box shadow

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

css variable

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

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, 32%, 15%)?

HEX: #1A1C32 | RGB: rgb(26, 28, 50) | CMYK: 48%, 44%, 0%, 80% | HSV: 235°, 48%, 20%. Copy any format from the conversion table above.

What colors go well with #1A1C32?

The complementary color is HSL(54, 32%, 15%). 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, 32%, 15%) in CSS?

As HSL: color: hsl(234, 32%, 15%); — As HEX: color: #1A1C32; — As RGB: color: rgb(26, 28, 50); — Tailwind CSS: bg-[hsl(234,32%,15%)] — CSS variable: --color-primary: hsl(234, 32%, 15%);