HSL(210, 83%, 7%)
Very Dark Blue — Blue color
Adjust Color
Color Information
Color Name
Very Dark Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(210,83%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(210, 83%, 7%) | color: hsl(210, 83%, 7%) | |
| HEX | #031221 | color: #031221 | |
| RGB | rgb(3, 18, 33) | color: rgb(3, 18, 33) | |
| CMYK | cmyk(91%, 45%, 0%, 87%) | — | |
| HSV | hsv(210, 91%, 13%) | — | |
| HWB | hwb(210 1% 87%) | color: hwb(210 1% 87%) | |
| OKLCH | oklch(0.1773 0.0386 248.02) | color: oklch(0.1773 0.0386 248.02) | |
| Lab | lab(5.07 -0.23 -11.81) | color: lab(5.07 -0.23 -11.81) | |
| LCH | lch(5.07 11.81 268.88) | color: lch(5.07 11.81 268.88) |
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)
#090A1D — rgb(9, 10, 29)
Deuteranopia (Green-blind)
#09081D — rgb(9, 8, 29)
Tritanopia (Blue-blind)
#041B1A — rgb(4, 27, 26)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(210, 83%, 7%);
text
color: hsl(210, 83%, 7%);
border
border: 2px solid hsl(210, 83%, 7%);
gradient light
background: linear-gradient(to right, hsl(210, 83%, 27%), hsl(210, 83%, 7%));
gradient dark
background: linear-gradient(to right, hsl(210, 83%, 7%), hsl(210, 83%, 0%))
hex
background-color: #031221;
tailwind
bg-[hsl(210,83%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(210, 83%, 7%, 0.4);
css variable
--color-primary: hsl(210, 83%, 7%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(210, 83%, 7%)?
HEX: #031221 | RGB: rgb(3, 18, 33) | CMYK: 91%, 45%, 0%, 87% | HSV: 210°, 91%, 13%. Copy any format from the conversion table above.
What colors go well with #031221?
The complementary color is HSL(30, 83%, 7%). For a triadic harmony, use hues 210°, 330°, and 90°. For analogous combinations, try hues 180° and 240°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(210, 83%, 7%) in CSS?
As HSL: color: hsl(210, 83%, 7%); — As HEX: color: #031221; — As RGB: color: rgb(3, 18, 33); — Tailwind CSS: bg-[hsl(210,83%,7%)] — CSS variable: --color-primary: hsl(210, 83%, 7%);