HSL(221, 100%, 32%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,100%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 100%, 32%) | color: hsl(221, 100%, 32%) | |
| HEX | #0034A3 | color: #0034A3 | |
| RGB | rgb(0, 52, 163) | color: rgb(0, 52, 163) | |
| CMYK | cmyk(100%, 68%, 0%, 36%) | — | |
| HSV | hsv(221, 100%, 64%) | — | |
| HWB | hwb(221 0% 36%) | color: hwb(221 0% 36%) | |
| OKLCH | oklch(0.3831 0.1848 262.53) | color: oklch(0.3831 0.1848 262.53) | |
| Lab | lab(27.02 32.21 -63.12) | color: lab(27.02 32.21 -63.12) | |
| LCH | lch(27.02 70.86 297.04) | color: lch(27.02 70.86 297.04) |
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)
#171788 — rgb(23, 23, 136)
Deuteranopia (Green-blind)
#141082 — rgb(20, 16, 130)
Tritanopia (Blue-blind)
#03736E — rgb(3, 115, 110)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 100%, 32%);
text
color: hsl(221, 100%, 32%);
border
border: 2px solid hsl(221, 100%, 32%);
gradient light
background: linear-gradient(to right, hsl(221, 100%, 52%), hsl(221, 100%, 32%));
gradient dark
background: linear-gradient(to right, hsl(221, 100%, 32%), hsl(221, 100%, 12%))
hex
background-color: #0034A3;
tailwind
bg-[hsl(221,100%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 100%, 32%, 0.4);
css variable
--color-primary: hsl(221, 100%, 32%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 100%, 32%)?
HEX: #0034A3 | RGB: rgb(0, 52, 163) | CMYK: 100%, 68%, 0%, 36% | HSV: 221°, 100%, 64%. Copy any format from the conversion table above.
What colors go well with #0034A3?
The complementary color is HSL(41, 100%, 32%). 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, 100%, 32%) in CSS?
As HSL: color: hsl(221, 100%, 32%); — As HEX: color: #0034A3; — As RGB: color: rgb(0, 52, 163); — Tailwind CSS: bg-[hsl(221,100%,32%)] — CSS variable: --color-primary: hsl(221, 100%, 32%);