HSL(221, 45%, 85%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,45%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 45%, 85%) | color: hsl(221, 45%, 85%) | |
| HEX | #C8D2EA | color: #C8D2EA | |
| RGB | rgb(200, 210, 234) | color: rgb(200, 210, 234) | |
| CMYK | cmyk(15%, 10%, 0%, 8%) | — | |
| HSV | hsv(222, 15%, 92%) | — | |
| HWB | hwb(222 78% 8%) | color: hwb(222 78% 8%) | |
| OKLCH | oklch(0.8636 0.035 267.61) | color: oklch(0.8636 0.035 267.61) | |
| Lab | lab(84.13 1.38 -12.94) | color: lab(84.13 1.38 -12.94) | |
| LCH | lch(84.13 13.01 276.09) | color: lch(84.13 13.01 276.09) |
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)
#CCCCE4 — rgb(204, 204, 228)
Deuteranopia (Green-blind)
#CCCBE3 — rgb(204, 203, 227)
Tritanopia (Blue-blind)
#C9E0DF — rgb(201, 224, 223)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 45%, 85%);
text
color: hsl(221, 45%, 85%);
border
border: 2px solid hsl(221, 45%, 85%);
gradient light
background: linear-gradient(to right, hsl(221, 45%, 100%), hsl(221, 45%, 85%));
gradient dark
background: linear-gradient(to right, hsl(221, 45%, 85%), hsl(221, 45%, 65%))
hex
background-color: #C8D2EA;
tailwind
bg-[hsl(221,45%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 45%, 85%, 0.4);
css variable
--color-primary: hsl(221, 45%, 85%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 45%, 85%)?
HEX: #C8D2EA | RGB: rgb(200, 210, 234) | CMYK: 15%, 10%, 0%, 8% | HSV: 222°, 15%, 92%. Copy any format from the conversion table above.
What colors go well with #C8D2EA?
The complementary color is HSL(41, 45%, 85%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(221, 45%, 85%) in CSS?
As HSL: color: hsl(221, 45%, 85%); — As HEX: color: #C8D2EA; — As RGB: color: rgb(200, 210, 234); — Tailwind CSS: bg-[hsl(221,45%,85%)] — CSS variable: --color-primary: hsl(221, 45%, 85%);