HSL(217, 24%, 36%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(217,24%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(217, 24%, 36%) | color: hsl(217, 24%, 36%) | |
| HEX | #465772 | color: #465772 | |
| RGB | rgb(70, 87, 114) | color: rgb(70, 87, 114) | |
| CMYK | cmyk(39%, 24%, 0%, 55%) | — | |
| HSV | hsv(217, 39%, 45%) | — | |
| HWB | hwb(217 27% 55%) | color: hwb(217 27% 55%) | |
| OKLCH | oklch(0.4537 0.0493 259.51) | color: oklch(0.4537 0.0493 259.51) | |
| Lab | lab(36.62 0.85 -17.49) | color: lab(36.62 0.85 -17.49) | |
| LCH | lch(36.62 17.51 272.78) | color: lch(36.62 17.51 272.78) |
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)
#4D4E6B — rgb(77, 78, 107)
Deuteranopia (Green-blind)
#4C4B6A — rgb(76, 75, 106)
Tritanopia (Blue-blind)
#476665 — rgb(71, 102, 101)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(217, 24%, 36%);
text
color: hsl(217, 24%, 36%);
border
border: 2px solid hsl(217, 24%, 36%);
gradient light
background: linear-gradient(to right, hsl(217, 24%, 56%), hsl(217, 24%, 36%));
gradient dark
background: linear-gradient(to right, hsl(217, 24%, 36%), hsl(217, 24%, 16%))
hex
background-color: #465772;
tailwind
bg-[hsl(217,24%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(217, 24%, 36%, 0.4);
css variable
--color-primary: hsl(217, 24%, 36%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(217, 24%, 36%)?
HEX: #465772 | RGB: rgb(70, 87, 114) | CMYK: 39%, 24%, 0%, 55% | HSV: 217°, 39%, 45%. Copy any format from the conversion table above.
What colors go well with #465772?
The complementary color is HSL(37, 24%, 36%). For a triadic harmony, use hues 217°, 337°, and 97°. For analogous combinations, try hues 187° and 247°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(217, 24%, 36%) in CSS?
As HSL: color: hsl(217, 24%, 36%); — As HEX: color: #465772; — As RGB: color: rgb(70, 87, 114); — Tailwind CSS: bg-[hsl(217,24%,36%)] — CSS variable: --color-primary: hsl(217, 24%, 36%);