HSL(220, 20%, 51%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(220,20%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(220, 20%, 51%) | color: hsl(220, 20%, 51%) | |
| HEX | #697A9B | color: #697A9B | |
| RGB | rgb(105, 122, 155) | color: rgb(105, 122, 155) | |
| CMYK | cmyk(32%, 21%, 0%, 39%) | — | |
| HSV | hsv(220, 32%, 61%) | — | |
| HWB | hwb(220 41% 39%) | color: hwb(220 41% 39%) | |
| OKLCH | oklch(0.5783 0.0549 263.46) | color: oklch(0.5783 0.0549 263.46) | |
| Lab | lab(51.02 1.92 -19.79) | color: lab(51.02 1.92 -19.79) | |
| LCH | lch(51.02 19.88 275.54) | color: lch(51.02 19.88 275.54) |
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)
#707193 — rgb(112, 113, 147)
Deuteranopia (Green-blind)
#6F6E91 — rgb(111, 110, 145)
Tritanopia (Blue-blind)
#6A8D8B — rgb(106, 141, 139)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(220, 20%, 51%);
text
color: hsl(220, 20%, 51%);
border
border: 2px solid hsl(220, 20%, 51%);
gradient light
background: linear-gradient(to right, hsl(220, 20%, 71%), hsl(220, 20%, 51%));
gradient dark
background: linear-gradient(to right, hsl(220, 20%, 51%), hsl(220, 20%, 31%))
hex
background-color: #697A9B;
tailwind
bg-[hsl(220,20%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(220, 20%, 51%, 0.4);
css variable
--color-primary: hsl(220, 20%, 51%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(220, 20%, 51%)?
HEX: #697A9B | RGB: rgb(105, 122, 155) | CMYK: 32%, 21%, 0%, 39% | HSV: 220°, 32%, 61%. Copy any format from the conversion table above.
What colors go well with #697A9B?
The complementary color is HSL(40, 20%, 51%). For a triadic harmony, use hues 220°, 340°, and 100°. For analogous combinations, try hues 190° and 250°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(220, 20%, 51%) in CSS?
As HSL: color: hsl(220, 20%, 51%); — As HEX: color: #697A9B; — As RGB: color: rgb(105, 122, 155); — Tailwind CSS: bg-[hsl(220,20%,51%)] — CSS variable: --color-primary: hsl(220, 20%, 51%);