HSL(247, 70%, 32%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(247,70%,32%)]

Color Conversions

Format Value CSS Usage
HSL hsl(247, 70%, 32%) color: hsl(247, 70%, 32%)
HEX #26188B color: #26188B
RGB rgb(38, 24, 139) color: rgb(38, 24, 139)
CMYK cmyk(73%, 83%, 0%, 45%)
HSV hsv(247, 83%, 55%)
HWB hwb(247 9% 45%) color: hwb(247 9% 45%)
OKLCH oklch(0.3272 0.1753 276.06) color: oklch(0.3272 0.1753 276.06)
Lab lab(19.76 42.55 -60.3) color: lab(19.76 42.55 -60.3)
LCH lch(19.76 73.8 305.21) color: lch(19.76 73.8 305.21)

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 13.24:1
vs Black 1.59: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)

#20206F — rgb(32, 32, 111)

Deuteranopia (Green-blind)

#212269 — rgb(33, 34, 105)

Tritanopia (Blue-blind)

#255954 — rgb(37, 89, 84)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(247, 70%, 32%);

text

color: hsl(247, 70%, 32%);

border

border: 2px solid hsl(247, 70%, 32%);

gradient light

background: linear-gradient(to right, hsl(247, 70%, 52%), hsl(247, 70%, 32%));

gradient dark

background: linear-gradient(to right, hsl(247, 70%, 32%), hsl(247, 70%, 12%))

hex

background-color: #26188B;

tailwind

bg-[hsl(247,70%,32%)]

box shadow

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

css variable

--color-primary: hsl(247, 70%, 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(247, 70%, 32%)?

HEX: #26188B | RGB: rgb(38, 24, 139) | CMYK: 73%, 83%, 0%, 45% | HSV: 247°, 83%, 55%. Copy any format from the conversion table above.

What colors go well with #26188B?

The complementary color is HSL(67, 70%, 32%). For a triadic harmony, use hues 247°, 7°, and 127°. For analogous combinations, try hues 217° and 277°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(247, 70%, 32%) in CSS?

As HSL: color: hsl(247, 70%, 32%); — As HEX: color: #26188B; — As RGB: color: rgb(38, 24, 139); — Tailwind CSS: bg-[hsl(247,70%,32%)] — CSS variable: --color-primary: hsl(247, 70%, 32%);