HSL(252, 33%, 81%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,33%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 33%, 81%) | color: hsl(252, 33%, 81%) | |
| HEX | #C5BFDF | color: #C5BFDF | |
| RGB | rgb(197, 191, 223) | color: rgb(197, 191, 223) | |
| CMYK | cmyk(12%, 14%, 0%, 13%) | — | |
| HSV | hsv(251, 14%, 87%) | — | |
| HWB | hwb(251 75% 13%) | color: hwb(251 75% 13%) | |
| OKLCH | oklch(0.8197 0.0449 293.98) | color: oklch(0.8197 0.0449 293.98) | |
| Lab | lab(78.73 8.28 -15.18) | color: lab(78.73 8.28 -15.18) | |
| LCH | lch(78.73 17.29 298.61) | color: lch(78.73 17.29 298.61) |
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)
#C2C2D7 — rgb(194, 194, 215)
Deuteranopia (Green-blind)
#C3C3D5 — rgb(195, 195, 213)
Tritanopia (Blue-blind)
#C5D1D0 — rgb(197, 209, 208)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 33%, 81%);
text
color: hsl(252, 33%, 81%);
border
border: 2px solid hsl(252, 33%, 81%);
gradient light
background: linear-gradient(to right, hsl(252, 33%, 100%), hsl(252, 33%, 81%));
gradient dark
background: linear-gradient(to right, hsl(252, 33%, 81%), hsl(252, 33%, 61%))
hex
background-color: #C5BFDF;
tailwind
bg-[hsl(252,33%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 33%, 81%, 0.4);
css variable
--color-primary: hsl(252, 33%, 81%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 33%, 81%)?
HEX: #C5BFDF | RGB: rgb(197, 191, 223) | CMYK: 12%, 14%, 0%, 13% | HSV: 251°, 14%, 87%. Copy any format from the conversion table above.
What colors go well with #C5BFDF?
The complementary color is HSL(72, 33%, 81%). 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, 33%, 81%) in CSS?
As HSL: color: hsl(252, 33%, 81%); — As HEX: color: #C5BFDF; — As RGB: color: rgb(197, 191, 223); — Tailwind CSS: bg-[hsl(252,33%,81%)] — CSS variable: --color-primary: hsl(252, 33%, 81%);