HSL(242, 15%, 80%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(242,15%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(242, 15%, 80%) | color: hsl(242, 15%, 80%) | |
| HEX | #C5C4D4 | color: #C5C4D4 | |
| RGB | rgb(197, 196, 212) | color: rgb(197, 196, 212) | |
| CMYK | cmyk(7%, 8%, 0%, 17%) | — | |
| HSV | hsv(244, 8%, 83%) | — | |
| HWB | hwb(244 76% 17%) | color: hwb(244 76% 17%) | |
| OKLCH | oklch(0.826 0.0222 288.78) | color: oklch(0.826 0.0222 288.78) | |
| Lab | lab(79.67 3.38 -7.85) | color: lab(79.67 3.38 -7.85) | |
| LCH | lch(79.67 8.55 293.3) | color: lch(79.67 8.55 293.3) |
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)
#C5C5D0 — rgb(197, 197, 208)
Deuteranopia (Green-blind)
#C5C5CF — rgb(197, 197, 207)
Tritanopia (Blue-blind)
#C5CDCC — rgb(197, 205, 204)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(242, 15%, 80%);
text
color: hsl(242, 15%, 80%);
border
border: 2px solid hsl(242, 15%, 80%);
gradient light
background: linear-gradient(to right, hsl(242, 15%, 100%), hsl(242, 15%, 80%));
gradient dark
background: linear-gradient(to right, hsl(242, 15%, 80%), hsl(242, 15%, 60%))
hex
background-color: #C5C4D4;
tailwind
bg-[hsl(242,15%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(242, 15%, 80%, 0.4);
css variable
--color-primary: hsl(242, 15%, 80%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(242, 15%, 80%)?
HEX: #C5C4D4 | RGB: rgb(197, 196, 212) | CMYK: 7%, 8%, 0%, 17% | HSV: 244°, 8%, 83%. Copy any format from the conversion table above.
What colors go well with #C5C4D4?
The complementary color is HSL(62, 15%, 80%). 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, 15%, 80%) in CSS?
As HSL: color: hsl(242, 15%, 80%); — As HEX: color: #C5C4D4; — As RGB: color: rgb(197, 196, 212); — Tailwind CSS: bg-[hsl(242,15%,80%)] — CSS variable: --color-primary: hsl(242, 15%, 80%);