HSL(204, 41%, 68%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(204,41%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(204, 41%, 68%) | color: hsl(204, 41%, 68%) | |
| HEX | #8CB4CF | color: #8CB4CF | |
| RGB | rgb(140, 180, 207) | color: rgb(140, 180, 207) | |
| CMYK | cmyk(32%, 13%, 0%, 19%) | — | |
| HSV | hsv(204, 32%, 81%) | — | |
| HWB | hwb(204 55% 19%) | color: hwb(204 55% 19%) | |
| OKLCH | oklch(0.7503 0.0581 238.08) | color: oklch(0.7503 0.0581 238.08) | |
| Lab | lab(71.37 -6.96 -17.98) | color: lab(71.37 -6.96 -17.98) | |
| LCH | lch(71.37 19.28 248.84) | color: lch(71.37 19.28 248.84) |
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)
#9D9EC8 — rgb(157, 158, 200)
Deuteranopia (Green-blind)
#9B98C7 — rgb(155, 152, 199)
Tritanopia (Blue-blind)
#8EC3C2 — rgb(142, 195, 194)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(204, 41%, 68%);
text
color: hsl(204, 41%, 68%);
border
border: 2px solid hsl(204, 41%, 68%);
gradient light
background: linear-gradient(to right, hsl(204, 41%, 88%), hsl(204, 41%, 68%));
gradient dark
background: linear-gradient(to right, hsl(204, 41%, 68%), hsl(204, 41%, 48%))
hex
background-color: #8CB4CF;
tailwind
bg-[hsl(204,41%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(204, 41%, 68%, 0.4);
css variable
--color-primary: hsl(204, 41%, 68%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(204, 41%, 68%)?
HEX: #8CB4CF | RGB: rgb(140, 180, 207) | CMYK: 32%, 13%, 0%, 19% | HSV: 204°, 32%, 81%. Copy any format from the conversion table above.
What colors go well with #8CB4CF?
The complementary color is HSL(24, 41%, 68%). For a triadic harmony, use hues 204°, 324°, and 84°. For analogous combinations, try hues 174° and 234°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(204, 41%, 68%) in CSS?
As HSL: color: hsl(204, 41%, 68%); — As HEX: color: #8CB4CF; — As RGB: color: rgb(140, 180, 207); — Tailwind CSS: bg-[hsl(204,41%,68%)] — CSS variable: --color-primary: hsl(204, 41%, 68%);