HSL(221, 73%, 41%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,73%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 73%, 41%) | color: hsl(221, 73%, 41%) | |
| HEX | #1C4DB5 | color: #1C4DB5 | |
| RGB | rgb(28, 77, 181) | color: rgb(28, 77, 181) | |
| CMYK | cmyk(85%, 57%, 0%, 29%) | — | |
| HSV | hsv(221, 85%, 71%) | — | |
| HWB | hwb(221 11% 29%) | color: hwb(221 11% 29%) | |
| OKLCH | oklch(0.4548 0.1735 262.64) | color: oklch(0.4548 0.1735 262.64) | |
| Lab | lab(35.77 23.94 -59.52) | color: lab(35.77 23.94 -59.52) | |
| LCH | lch(35.77 64.15 291.91) | color: lch(35.77 64.15 291.91) |
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)
#31329C — rgb(49, 50, 156)
Deuteranopia (Green-blind)
#2E2B96 — rgb(46, 43, 150)
Tritanopia (Blue-blind)
#1E8884 — rgb(30, 136, 132)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 73%, 41%);
text
color: hsl(221, 73%, 41%);
border
border: 2px solid hsl(221, 73%, 41%);
gradient light
background: linear-gradient(to right, hsl(221, 73%, 61%), hsl(221, 73%, 41%));
gradient dark
background: linear-gradient(to right, hsl(221, 73%, 41%), hsl(221, 73%, 21%))
hex
background-color: #1C4DB5;
tailwind
bg-[hsl(221,73%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 73%, 41%, 0.4);
css variable
--color-primary: hsl(221, 73%, 41%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 73%, 41%)?
HEX: #1C4DB5 | RGB: rgb(28, 77, 181) | CMYK: 85%, 57%, 0%, 29% | HSV: 221°, 85%, 71%. Copy any format from the conversion table above.
What colors go well with #1C4DB5?
The complementary color is HSL(41, 73%, 41%). 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, 73%, 41%) in CSS?
As HSL: color: hsl(221, 73%, 41%); — As HEX: color: #1C4DB5; — As RGB: color: rgb(28, 77, 181); — Tailwind CSS: bg-[hsl(221,73%,41%)] — CSS variable: --color-primary: hsl(221, 73%, 41%);