HSL(221, 20%, 50%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,20%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 20%, 50%) | color: hsl(221, 20%, 50%) | |
| HEX | #667699 | color: #667699 | |
| RGB | rgb(102, 118, 153) | color: rgb(102, 118, 153) | |
| CMYK | cmyk(33%, 23%, 0%, 40%) | — | |
| HSV | hsv(221, 33%, 60%) | — | |
| HWB | hwb(221 40% 40%) | color: hwb(221 40% 40%) | |
| OKLCH | oklch(0.5664 0.0577 265.49) | color: oklch(0.5664 0.0577 265.49) | |
| Lab | lab(49.59 2.83 -20.82) | color: lab(49.59 2.83 -20.82) | |
| LCH | lch(49.59 21.01 277.74) | color: lch(49.59 21.01 277.74) |
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)
#6D6D91 — rgb(109, 109, 145)
Deuteranopia (Green-blind)
#6C6B8F — rgb(108, 107, 143)
Tritanopia (Blue-blind)
#678A88 — rgb(103, 138, 136)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 20%, 50%);
text
color: hsl(221, 20%, 50%);
border
border: 2px solid hsl(221, 20%, 50%);
gradient light
background: linear-gradient(to right, hsl(221, 20%, 70%), hsl(221, 20%, 50%));
gradient dark
background: linear-gradient(to right, hsl(221, 20%, 50%), hsl(221, 20%, 30%))
hex
background-color: #667699;
tailwind
bg-[hsl(221,20%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 20%, 50%, 0.4);
css variable
--color-primary: hsl(221, 20%, 50%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 20%, 50%)?
HEX: #667699 | RGB: rgb(102, 118, 153) | CMYK: 33%, 23%, 0%, 40% | HSV: 221°, 33%, 60%. Copy any format from the conversion table above.
What colors go well with #667699?
The complementary color is HSL(41, 20%, 50%). 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, 20%, 50%) in CSS?
As HSL: color: hsl(221, 20%, 50%); — As HEX: color: #667699; — As RGB: color: rgb(102, 118, 153); — Tailwind CSS: bg-[hsl(221,20%,50%)] — CSS variable: --color-primary: hsl(221, 20%, 50%);