HSL(242, 21%, 69%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(242,21%,69%)]

Color Conversions

Format Value CSS Usage
HSL hsl(242, 21%, 69%) color: hsl(242, 21%, 69%)
HEX #A09FC1 color: #A09FC1
RGB rgb(160, 159, 193) color: rgb(160, 159, 193)
CMYK cmyk(17%, 18%, 0%, 24%)
HSV hsv(242, 18%, 76%)
HWB hwb(242 62% 24%) color: hwb(242 62% 24%)
OKLCH oklch(0.7149 0.0491 286.43) color: oklch(0.7149 0.0491 286.43)
Lab lab(66.61 7.41 -17.32) color: lab(66.61 7.41 -17.32)
LCH lch(66.61 18.84 293.16) color: lch(66.61 18.84 293.16)

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.55:1
vs Black 8.22: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)

#A0A0B9 — rgb(160, 160, 185)

Deuteranopia (Green-blind)

#A0A0B7 — rgb(160, 160, 183)

Tritanopia (Blue-blind)

#A0B2B1 — rgb(160, 178, 177)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(242, 21%, 69%);

text

color: hsl(242, 21%, 69%);

border

border: 2px solid hsl(242, 21%, 69%);

gradient light

background: linear-gradient(to right, hsl(242, 21%, 89%), hsl(242, 21%, 69%));

gradient dark

background: linear-gradient(to right, hsl(242, 21%, 69%), hsl(242, 21%, 49%))

hex

background-color: #A09FC1;

tailwind

bg-[hsl(242,21%,69%)]

box shadow

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

css variable

--color-primary: hsl(242, 21%, 69%);

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, 21%, 69%)?

HEX: #A09FC1 | RGB: rgb(160, 159, 193) | CMYK: 17%, 18%, 0%, 24% | HSV: 242°, 18%, 76%. Copy any format from the conversion table above.

What colors go well with #A09FC1?

The complementary color is HSL(62, 21%, 69%). 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, 21%, 69%) in CSS?

As HSL: color: hsl(242, 21%, 69%); — As HEX: color: #A09FC1; — As RGB: color: rgb(160, 159, 193); — Tailwind CSS: bg-[hsl(242,21%,69%)] — CSS variable: --color-primary: hsl(242, 21%, 69%);