HSL(221, 38%, 46%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,38%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 38%, 46%) | color: hsl(221, 38%, 46%) | |
| HEX | #4965A2 | color: #4965A2 | |
| RGB | rgb(73, 101, 162) | color: rgb(73, 101, 162) | |
| CMYK | cmyk(55%, 38%, 0%, 36%) | — | |
| HSV | hsv(221, 55%, 64%) | — | |
| HWB | hwb(221 29% 36%) | color: hwb(221 29% 36%) | |
| OKLCH | oklch(0.5135 0.1027 264.41) | color: oklch(0.5135 0.1027 264.41) | |
| Lab | lab(43.26 8.13 -36.15) | color: lab(43.26 8.13 -36.15) | |
| LCH | lch(43.26 37.05 282.67) | color: lch(43.26 37.05 282.67) |
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)
#555593 — rgb(85, 85, 147)
Deuteranopia (Green-blind)
#545190 — rgb(84, 81, 144)
Tritanopia (Blue-blind)
#4A8885 — rgb(74, 136, 133)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 38%, 46%);
text
color: hsl(221, 38%, 46%);
border
border: 2px solid hsl(221, 38%, 46%);
gradient light
background: linear-gradient(to right, hsl(221, 38%, 66%), hsl(221, 38%, 46%));
gradient dark
background: linear-gradient(to right, hsl(221, 38%, 46%), hsl(221, 38%, 26%))
hex
background-color: #4965A2;
tailwind
bg-[hsl(221,38%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 38%, 46%, 0.4);
css variable
--color-primary: hsl(221, 38%, 46%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 38%, 46%)?
HEX: #4965A2 | RGB: rgb(73, 101, 162) | CMYK: 55%, 38%, 0%, 36% | HSV: 221°, 55%, 64%. Copy any format from the conversion table above.
What colors go well with #4965A2?
The complementary color is HSL(41, 38%, 46%). 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, 38%, 46%) in CSS?
As HSL: color: hsl(221, 38%, 46%); — As HEX: color: #4965A2; — As RGB: color: rgb(73, 101, 162); — Tailwind CSS: bg-[hsl(221,38%,46%)] — CSS variable: --color-primary: hsl(221, 38%, 46%);