HSL(262, 17%, 79%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(262,17%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 17%, 79%) | color: hsl(262, 17%, 79%) | |
| HEX | #C7C0D3 | color: #C7C0D3 | |
| RGB | rgb(199, 192, 211) | color: rgb(199, 192, 211) | |
| CMYK | cmyk(6%, 9%, 0%, 17%) | — | |
| HSV | hsv(262, 9%, 83%) | — | |
| HWB | hwb(262 76% 17%) | color: hwb(262 76% 17%) | |
| OKLCH | oklch(0.8193 0.0273 302.5) | color: oklch(0.8193 0.0273 302.5) | |
| Lab | lab(78.78 5.99 -8.62) | color: lab(78.78 5.99 -8.62) | |
| LCH | lch(78.78 10.5 304.8) | color: lch(78.78 10.5 304.8) |
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)
#C4C4CE — rgb(196, 196, 206)
Deuteranopia (Green-blind)
#C4C5CD — rgb(196, 197, 205)
Tritanopia (Blue-blind)
#C7CBCA — rgb(199, 203, 202)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 17%, 79%);
text
color: hsl(262, 17%, 79%);
border
border: 2px solid hsl(262, 17%, 79%);
gradient light
background: linear-gradient(to right, hsl(262, 17%, 99%), hsl(262, 17%, 79%));
gradient dark
background: linear-gradient(to right, hsl(262, 17%, 79%), hsl(262, 17%, 59%))
hex
background-color: #C7C0D3;
tailwind
bg-[hsl(262,17%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 17%, 79%, 0.4);
css variable
--color-primary: hsl(262, 17%, 79%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 17%, 79%)?
HEX: #C7C0D3 | RGB: rgb(199, 192, 211) | CMYK: 6%, 9%, 0%, 17% | HSV: 262°, 9%, 83%. Copy any format from the conversion table above.
What colors go well with #C7C0D3?
The complementary color is HSL(82, 17%, 79%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(262, 17%, 79%) in CSS?
As HSL: color: hsl(262, 17%, 79%); — As HEX: color: #C7C0D3; — As RGB: color: rgb(199, 192, 211); — Tailwind CSS: bg-[hsl(262,17%,79%)] — CSS variable: --color-primary: hsl(262, 17%, 79%);