HSL(204, 21%, 68%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(204,21%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(204, 21%, 68%) | color: hsl(204, 21%, 68%) | |
| HEX | #9CB1BF | color: #9CB1BF | |
| RGB | rgb(156, 177, 191) | color: rgb(156, 177, 191) | |
| CMYK | cmyk(18%, 7%, 0%, 25%) | — | |
| HSV | hsv(204, 18%, 75%) | — | |
| HWB | hwb(204 62% 25%) | color: hwb(204 62% 25%) | |
| OKLCH | oklch(0.7488 0.0308 237.06) | color: oklch(0.7488 0.0308 237.06) | |
| Lab | lab(71.06 -4.24 -9.56) | color: lab(71.06 -4.24 -9.56) | |
| LCH | lch(71.06 10.46 246.08) | color: lch(71.06 10.46 246.08) |
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)
#A5A5BC — rgb(165, 165, 188)
Deuteranopia (Green-blind)
#A4A2BB — rgb(164, 162, 187)
Tritanopia (Blue-blind)
#9DB9B8 — rgb(157, 185, 184)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(204, 21%, 68%);
text
color: hsl(204, 21%, 68%);
border
border: 2px solid hsl(204, 21%, 68%);
gradient light
background: linear-gradient(to right, hsl(204, 21%, 88%), hsl(204, 21%, 68%));
gradient dark
background: linear-gradient(to right, hsl(204, 21%, 68%), hsl(204, 21%, 48%))
hex
background-color: #9CB1BF;
tailwind
bg-[hsl(204,21%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(204, 21%, 68%, 0.4);
css variable
--color-primary: hsl(204, 21%, 68%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(204, 21%, 68%)?
HEX: #9CB1BF | RGB: rgb(156, 177, 191) | CMYK: 18%, 7%, 0%, 25% | HSV: 204°, 18%, 75%. Copy any format from the conversion table above.
What colors go well with #9CB1BF?
The complementary color is HSL(24, 21%, 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, 21%, 68%) in CSS?
As HSL: color: hsl(204, 21%, 68%); — As HEX: color: #9CB1BF; — As RGB: color: rgb(156, 177, 191); — Tailwind CSS: bg-[hsl(204,21%,68%)] — CSS variable: --color-primary: hsl(204, 21%, 68%);