HSL(252, 40%, 80%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,40%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 40%, 80%) | color: hsl(252, 40%, 80%) | |
| HEX | #C0B8E0 | color: #C0B8E0 | |
| RGB | rgb(192, 184, 224) | color: rgb(192, 184, 224) | |
| CMYK | cmyk(14%, 18%, 0%, 12%) | — | |
| HSV | hsv(252, 18%, 88%) | — | |
| HWB | hwb(252 72% 12%) | color: hwb(252 72% 12%) | |
| OKLCH | oklch(0.8023 0.0565 294.26) | color: oklch(0.8023 0.0565 294.26) | |
| Lab | lab(76.6 10.67 -18.97) | color: lab(76.6 10.67 -18.97) | |
| LCH | lch(76.6 21.76 299.36) | color: lch(76.6 21.76 299.36) |
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)
#BDBCD6 — rgb(189, 188, 214)
Deuteranopia (Green-blind)
#BDBED4 — rgb(189, 190, 212)
Tritanopia (Blue-blind)
#C0CFCD — rgb(192, 207, 205)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 40%, 80%);
text
color: hsl(252, 40%, 80%);
border
border: 2px solid hsl(252, 40%, 80%);
gradient light
background: linear-gradient(to right, hsl(252, 40%, 100%), hsl(252, 40%, 80%));
gradient dark
background: linear-gradient(to right, hsl(252, 40%, 80%), hsl(252, 40%, 60%))
hex
background-color: #C0B8E0;
tailwind
bg-[hsl(252,40%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 40%, 80%, 0.4);
css variable
--color-primary: hsl(252, 40%, 80%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 40%, 80%)?
HEX: #C0B8E0 | RGB: rgb(192, 184, 224) | CMYK: 14%, 18%, 0%, 12% | HSV: 252°, 18%, 88%. Copy any format from the conversion table above.
What colors go well with #C0B8E0?
The complementary color is HSL(72, 40%, 80%). 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, 40%, 80%) in CSS?
As HSL: color: hsl(252, 40%, 80%); — As HEX: color: #C0B8E0; — As RGB: color: rgb(192, 184, 224); — Tailwind CSS: bg-[hsl(252,40%,80%)] — CSS variable: --color-primary: hsl(252, 40%, 80%);