HSL(221, 26%, 56%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,26%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 26%, 56%) | color: hsl(221, 26%, 56%) | |
| HEX | #7284AC | color: #7284AC | |
| RGB | rgb(114, 132, 172) | color: rgb(114, 132, 172) | |
| CMYK | cmyk(34%, 23%, 0%, 33%) | — | |
| HSV | hsv(221, 34%, 67%) | — | |
| HWB | hwb(221 44% 33%) | color: hwb(221 44% 33%) | |
| OKLCH | oklch(0.6143 0.0645 265.72) | color: oklch(0.6143 0.0645 265.72) | |
| Lab | lab(55.13 3.32 -23.27) | color: lab(55.13 3.32 -23.27) | |
| LCH | lch(55.13 23.51 278.12) | color: lch(55.13 23.51 278.12) |
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)
#7A7AA2 — rgb(122, 122, 162)
Deuteranopia (Green-blind)
#7977A0 — rgb(121, 119, 160)
Tritanopia (Blue-blind)
#739B99 — rgb(115, 155, 153)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 26%, 56%);
text
color: hsl(221, 26%, 56%);
border
border: 2px solid hsl(221, 26%, 56%);
gradient light
background: linear-gradient(to right, hsl(221, 26%, 76%), hsl(221, 26%, 56%));
gradient dark
background: linear-gradient(to right, hsl(221, 26%, 56%), hsl(221, 26%, 36%))
hex
background-color: #7284AC;
tailwind
bg-[hsl(221,26%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 26%, 56%, 0.4);
css variable
--color-primary: hsl(221, 26%, 56%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 26%, 56%)?
HEX: #7284AC | RGB: rgb(114, 132, 172) | CMYK: 34%, 23%, 0%, 33% | HSV: 221°, 34%, 67%. Copy any format from the conversion table above.
What colors go well with #7284AC?
The complementary color is HSL(41, 26%, 56%). 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, 26%, 56%) in CSS?
As HSL: color: hsl(221, 26%, 56%); — As HEX: color: #7284AC; — As RGB: color: rgb(114, 132, 172); — Tailwind CSS: bg-[hsl(221,26%,56%)] — CSS variable: --color-primary: hsl(221, 26%, 56%);