HSL(242, 25%, 70%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(242,25%,70%)]

Color Conversions

Format Value CSS Usage
HSL hsl(242, 25%, 70%) color: hsl(242, 25%, 70%)
HEX #A19FC6 color: #A19FC6
RGB rgb(161, 159, 198) color: rgb(161, 159, 198)
CMYK cmyk(19%, 20%, 0%, 22%)
HSV hsv(243, 20%, 78%)
HWB hwb(243 62% 22%) color: hwb(243 62% 22%)
OKLCH oklch(0.7176 0.0563 287.24) color: oklch(0.7176 0.0563 287.24)
Lab lab(66.86 8.86 -19.71) color: lab(66.86 8.86 -19.71)
LCH lch(66.86 21.61 294.2) color: lch(66.86 21.61 294.2)

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 2.53:1
vs Black 8.29:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#A0A0BD — rgb(160, 160, 189)

Deuteranopia (Green-blind)

#A0A0BA — rgb(160, 160, 186)

Tritanopia (Blue-blind)

#A1B5B3 — rgb(161, 181, 179)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(242, 25%, 70%);

text

color: hsl(242, 25%, 70%);

border

border: 2px solid hsl(242, 25%, 70%);

gradient light

background: linear-gradient(to right, hsl(242, 25%, 90%), hsl(242, 25%, 70%));

gradient dark

background: linear-gradient(to right, hsl(242, 25%, 70%), hsl(242, 25%, 50%))

hex

background-color: #A19FC6;

tailwind

bg-[hsl(242,25%,70%)]

box shadow

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

css variable

--color-primary: hsl(242, 25%, 70%);

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(242, 25%, 70%)?

HEX: #A19FC6 | RGB: rgb(161, 159, 198) | CMYK: 19%, 20%, 0%, 22% | HSV: 243°, 20%, 78%. Copy any format from the conversion table above.

What colors go well with #A19FC6?

The complementary color is HSL(62, 25%, 70%). For a triadic harmony, use hues 242°, 2°, and 122°. For analogous combinations, try hues 212° and 272°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(242, 25%, 70%) in CSS?

As HSL: color: hsl(242, 25%, 70%); — As HEX: color: #A19FC6; — As RGB: color: rgb(161, 159, 198); — Tailwind CSS: bg-[hsl(242,25%,70%)] — CSS variable: --color-primary: hsl(242, 25%, 70%);