HSL(248, 85%, 29%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(248,85%,29%)]

Color Conversions

Format Value CSS Usage
HSL hsl(248, 85%, 29%) color: hsl(248, 85%, 29%)
HEX #1C0B89 color: #1C0B89
RGB rgb(28, 11, 137) color: rgb(28, 11, 137)
CMYK cmyk(80%, 92%, 0%, 46%)
HSV hsv(248, 92%, 54%)
HWB hwb(248 4% 46%) color: hwb(248 4% 46%)
OKLCH oklch(0.3053 0.1844 272.65) color: oklch(0.3053 0.1844 272.65)
Lab lab(16.95 46.72 -63.73) color: lab(16.95 46.72 -63.73)
LCH lch(16.95 79.02 306.24) color: lch(16.95 79.02 306.24)

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 14.4:1
vs Black 1.46: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)

#15146B — rgb(21, 20, 107)

Deuteranopia (Green-blind)

#161763 — rgb(22, 23, 99)

Tritanopia (Blue-blind)

#1B524D — rgb(27, 82, 77)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(248, 85%, 29%);

text

color: hsl(248, 85%, 29%);

border

border: 2px solid hsl(248, 85%, 29%);

gradient light

background: linear-gradient(to right, hsl(248, 85%, 49%), hsl(248, 85%, 29%));

gradient dark

background: linear-gradient(to right, hsl(248, 85%, 29%), hsl(248, 85%, 9%))

hex

background-color: #1C0B89;

tailwind

bg-[hsl(248,85%,29%)]

box shadow

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

css variable

--color-primary: hsl(248, 85%, 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(248, 85%, 29%)?

HEX: #1C0B89 | RGB: rgb(28, 11, 137) | CMYK: 80%, 92%, 0%, 46% | HSV: 248°, 92%, 54%. Copy any format from the conversion table above.

What colors go well with #1C0B89?

The complementary color is HSL(68, 85%, 29%). For a triadic harmony, use hues 248°, 8°, and 128°. For analogous combinations, try hues 218° and 278°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(248, 85%, 29%) in CSS?

As HSL: color: hsl(248, 85%, 29%); — As HEX: color: #1C0B89; — As RGB: color: rgb(28, 11, 137); — Tailwind CSS: bg-[hsl(248,85%,29%)] — CSS variable: --color-primary: hsl(248, 85%, 29%);