HSL(221, 20%, 51%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,20%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 20%, 51%) | color: hsl(221, 20%, 51%) | |
| HEX | #69799B | color: #69799B | |
| RGB | rgb(105, 121, 155) | color: rgb(105, 121, 155) | |
| CMYK | cmyk(32%, 22%, 0%, 39%) | — | |
| HSV | hsv(221, 32%, 61%) | — | |
| HWB | hwb(221 41% 39%) | color: hwb(221 41% 39%) | |
| OKLCH | oklch(0.5761 0.056 265.05) | color: oklch(0.5761 0.056 265.05) | |
| Lab | lab(50.74 2.51 -20.22) | color: lab(50.74 2.51 -20.22) | |
| LCH | lch(50.74 20.38 277.08) | color: lch(50.74 20.38 277.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)
#707093 — rgb(112, 112, 147)
Deuteranopia (Green-blind)
#6F6E91 — rgb(111, 110, 145)
Tritanopia (Blue-blind)
#6A8C8B — rgb(106, 140, 139)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 20%, 51%);
text
color: hsl(221, 20%, 51%);
border
border: 2px solid hsl(221, 20%, 51%);
gradient light
background: linear-gradient(to right, hsl(221, 20%, 71%), hsl(221, 20%, 51%));
gradient dark
background: linear-gradient(to right, hsl(221, 20%, 51%), hsl(221, 20%, 31%))
hex
background-color: #69799B;
tailwind
bg-[hsl(221,20%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 20%, 51%, 0.4);
css variable
--color-primary: hsl(221, 20%, 51%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 20%, 51%)?
HEX: #69799B | RGB: rgb(105, 121, 155) | CMYK: 32%, 22%, 0%, 39% | HSV: 221°, 32%, 61%. Copy any format from the conversion table above.
What colors go well with #69799B?
The complementary color is HSL(41, 20%, 51%). 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%, 51%) in CSS?
As HSL: color: hsl(221, 20%, 51%); — As HEX: color: #69799B; — As RGB: color: rgb(105, 121, 155); — Tailwind CSS: bg-[hsl(221,20%,51%)] — CSS variable: --color-primary: hsl(221, 20%, 51%);