HSL(217, 45%, 50%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(217,45%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(217, 45%, 50%) | color: hsl(217, 45%, 50%) | |
| HEX | #4672B9 | color: #4672B9 | |
| RGB | rgb(70, 114, 185) | color: rgb(70, 114, 185) | |
| CMYK | cmyk(62%, 38%, 0%, 27%) | — | |
| HSV | hsv(217, 62%, 73%) | — | |
| HWB | hwb(217 28% 27%) | color: hwb(217 28% 27%) | |
| OKLCH | oklch(0.5543 0.1213 259.55) | color: oklch(0.5543 0.1213 259.55) | |
| Lab | lab(48.06 7.24 -42.02) | color: lab(48.06 7.24 -42.02) | |
| LCH | lch(48.06 42.64 279.78) | color: lch(48.06 42.64 279.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)
#5959A8 — rgb(89, 89, 168)
Deuteranopia (Green-blind)
#5753A4 — rgb(87, 83, 164)
Tritanopia (Blue-blind)
#489A97 — rgb(72, 154, 151)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(217, 45%, 50%);
text
color: hsl(217, 45%, 50%);
border
border: 2px solid hsl(217, 45%, 50%);
gradient light
background: linear-gradient(to right, hsl(217, 45%, 70%), hsl(217, 45%, 50%));
gradient dark
background: linear-gradient(to right, hsl(217, 45%, 50%), hsl(217, 45%, 30%))
hex
background-color: #4672B9;
tailwind
bg-[hsl(217,45%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(217, 45%, 50%, 0.4);
css variable
--color-primary: hsl(217, 45%, 50%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(217, 45%, 50%)?
HEX: #4672B9 | RGB: rgb(70, 114, 185) | CMYK: 62%, 38%, 0%, 27% | HSV: 217°, 62%, 73%. Copy any format from the conversion table above.
What colors go well with #4672B9?
The complementary color is HSL(37, 45%, 50%). 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, 45%, 50%) in CSS?
As HSL: color: hsl(217, 45%, 50%); — As HEX: color: #4672B9; — As RGB: color: rgb(70, 114, 185); — Tailwind CSS: bg-[hsl(217,45%,50%)] — CSS variable: --color-primary: hsl(217, 45%, 50%);