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
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
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
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
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%);