HSL(246, 44%, 20%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(246,44%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(246, 44%, 20%) | color: hsl(246, 44%, 20%) | |
| HEX | #211D49 | color: #211D49 | |
| RGB | rgb(33, 29, 73) | color: rgb(33, 29, 73) | |
| CMYK | cmyk(55%, 60%, 0%, 71%) | — | |
| HSV | hsv(245, 60%, 29%) | — | |
| HWB | hwb(245 12% 71%) | color: hwb(245 12% 71%) | |
| OKLCH | oklch(0.2627 0.0791 283.63) | color: oklch(0.2627 0.0791 283.63) | |
| Lab | lab(13.73 15.83 -26.94) | color: lab(13.73 15.83 -26.94) | |
| LCH | lch(13.73 31.25 300.44) | color: lch(13.73 31.25 300.44) |
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)
#1F1F3E — rgb(31, 31, 62)
Deuteranopia (Green-blind)
#20203C — rgb(32, 32, 60)
Tritanopia (Blue-blind)
#213634 — rgb(33, 54, 52)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(246, 44%, 20%);
text
color: hsl(246, 44%, 20%);
border
border: 2px solid hsl(246, 44%, 20%);
gradient light
background: linear-gradient(to right, hsl(246, 44%, 40%), hsl(246, 44%, 20%));
gradient dark
background: linear-gradient(to right, hsl(246, 44%, 20%), hsl(246, 44%, 0%))
hex
background-color: #211D49;
tailwind
bg-[hsl(246,44%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(246, 44%, 20%, 0.4);
css variable
--color-primary: hsl(246, 44%, 20%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(246, 44%, 20%)?
HEX: #211D49 | RGB: rgb(33, 29, 73) | CMYK: 55%, 60%, 0%, 71% | HSV: 245°, 60%, 29%. Copy any format from the conversion table above.
What colors go well with #211D49?
The complementary color is HSL(66, 44%, 20%). For a triadic harmony, use hues 246°, 6°, and 126°. For analogous combinations, try hues 216° and 276°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(246, 44%, 20%) in CSS?
As HSL: color: hsl(246, 44%, 20%); — As HEX: color: #211D49; — As RGB: color: rgb(33, 29, 73); — Tailwind CSS: bg-[hsl(246,44%,20%)] — CSS variable: --color-primary: hsl(246, 44%, 20%);