HSL(227, 22%, 82%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(227,22%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 22%, 82%) | color: hsl(227, 22%, 82%) | |
| HEX | #C7CBDB | color: #C7CBDB | |
| RGB | rgb(199, 203, 219) | color: rgb(199, 203, 219) | |
| CMYK | cmyk(9%, 7%, 0%, 14%) | — | |
| HSV | hsv(228, 9%, 86%) | — | |
| HWB | hwb(228 78% 14%) | color: hwb(228 78% 14%) | |
| OKLCH | oklch(0.8439 0.0226 274.69) | color: oklch(0.8439 0.0226 274.69) | |
| Lab | lab(81.82 1.71 -8.4) | color: lab(81.82 1.71 -8.4) | |
| LCH | lch(81.82 8.57 281.51) | color: lch(81.82 8.57 281.51) |
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)
#C9C9D7 — rgb(201, 201, 215)
Deuteranopia (Green-blind)
#C9C8D6 — rgb(201, 200, 214)
Tritanopia (Blue-blind)
#C7D4D3 — rgb(199, 212, 211)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 22%, 82%);
text
color: hsl(227, 22%, 82%);
border
border: 2px solid hsl(227, 22%, 82%);
gradient light
background: linear-gradient(to right, hsl(227, 22%, 100%), hsl(227, 22%, 82%));
gradient dark
background: linear-gradient(to right, hsl(227, 22%, 82%), hsl(227, 22%, 62%))
hex
background-color: #C7CBDB;
tailwind
bg-[hsl(227,22%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 22%, 82%, 0.4);
css variable
--color-primary: hsl(227, 22%, 82%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 22%, 82%)?
HEX: #C7CBDB | RGB: rgb(199, 203, 219) | CMYK: 9%, 7%, 0%, 14% | HSV: 228°, 9%, 86%. Copy any format from the conversion table above.
What colors go well with #C7CBDB?
The complementary color is HSL(47, 22%, 82%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(227, 22%, 82%) in CSS?
As HSL: color: hsl(227, 22%, 82%); — As HEX: color: #C7CBDB; — As RGB: color: rgb(199, 203, 219); — Tailwind CSS: bg-[hsl(227,22%,82%)] — CSS variable: --color-primary: hsl(227, 22%, 82%);