HSL(221, 24%, 36%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,24%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 24%, 36%) | color: hsl(221, 24%, 36%) | |
| HEX | #465472 | color: #465472 | |
| RGB | rgb(70, 84, 114) | color: rgb(70, 84, 114) | |
| CMYK | cmyk(39%, 26%, 0%, 55%) | — | |
| HSV | hsv(221, 39%, 45%) | — | |
| HWB | hwb(221 27% 55%) | color: hwb(221 27% 55%) | |
| OKLCH | oklch(0.4466 0.0526 265) | color: oklch(0.4466 0.0526 265) | |
| Lab | lab(35.71 2.74 -18.89) | color: lab(35.71 2.74 -18.89) | |
| LCH | lch(35.71 19.09 278.25) | color: lch(35.71 19.09 278.25) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#4C4C6B — rgb(76, 76, 107)
Deuteranopia (Green-blind)
#4B4A69 — rgb(75, 74, 105)
Tritanopia (Blue-blind)
#476564 — rgb(71, 101, 100)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 24%, 36%);
text
color: hsl(221, 24%, 36%);
border
border: 2px solid hsl(221, 24%, 36%);
gradient light
background: linear-gradient(to right, hsl(221, 24%, 56%), hsl(221, 24%, 36%));
gradient dark
background: linear-gradient(to right, hsl(221, 24%, 36%), hsl(221, 24%, 16%))
hex
background-color: #465472;
tailwind
bg-[hsl(221,24%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 24%, 36%, 0.4);
css variable
--color-primary: hsl(221, 24%, 36%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 24%, 36%)?
HEX: #465472 | RGB: rgb(70, 84, 114) | CMYK: 39%, 26%, 0%, 55% | HSV: 221°, 39%, 45%. Copy any format from the conversion table above.
What colors go well with #465472?
The complementary color is HSL(41, 24%, 36%). 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, 24%, 36%) in CSS?
As HSL: color: hsl(221, 24%, 36%); — As HEX: color: #465472; — As RGB: color: rgb(70, 84, 114); — Tailwind CSS: bg-[hsl(221,24%,36%)] — CSS variable: --color-primary: hsl(221, 24%, 36%);