HSL(252, 67%, 74%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(252,67%,74%)]

Color Conversions

Format Value CSS Usage
HSL hsl(252, 67%, 74%) color: hsl(252, 67%, 74%)
HEX #A290E9 color: #A290E9
RGB rgb(162, 144, 233) color: rgb(162, 144, 233)
CMYK cmyk(30%, 38%, 0%, 9%)
HSV hsv(252, 38%, 91%)
HWB hwb(252 56% 9%) color: hwb(252 56% 9%)
OKLCH oklch(0.7048 0.1286 292.06) color: oklch(0.7048 0.1286 292.06)
Lab lab(64.57 26.08 -42.64) color: lab(64.57 26.08 -42.64)
LCH lch(64.57 49.98 301.45) color: lch(64.57 49.98 301.45)

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.73:1
vs Black 7.7: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)

#9A9AD3 — rgb(154, 154, 211)

Deuteranopia (Green-blind)

#9B9DCE — rgb(155, 157, 206)

Tritanopia (Blue-blind)

#A1C2BF — rgb(161, 194, 191)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(252, 67%, 74%);

text

color: hsl(252, 67%, 74%);

border

border: 2px solid hsl(252, 67%, 74%);

gradient light

background: linear-gradient(to right, hsl(252, 67%, 94%), hsl(252, 67%, 74%));

gradient dark

background: linear-gradient(to right, hsl(252, 67%, 74%), hsl(252, 67%, 54%))

hex

background-color: #A290E9;

tailwind

bg-[hsl(252,67%,74%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(252, 67%, 74%, 0.4);

css variable

--color-primary: hsl(252, 67%, 74%);

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(252, 67%, 74%)?

HEX: #A290E9 | RGB: rgb(162, 144, 233) | CMYK: 30%, 38%, 0%, 9% | HSV: 252°, 38%, 91%. Copy any format from the conversion table above.

What colors go well with #A290E9?

The complementary color is HSL(72, 67%, 74%). For a triadic harmony, use hues 252°, 12°, and 132°. For analogous combinations, try hues 222° and 282°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(252, 67%, 74%) in CSS?

As HSL: color: hsl(252, 67%, 74%); — As HEX: color: #A290E9; — As RGB: color: rgb(162, 144, 233); — Tailwind CSS: bg-[hsl(252,67%,74%)] — CSS variable: --color-primary: hsl(252, 67%, 74%);