HSL(221, 95%, 14%)
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(221,95%,14%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 95%, 14%) | color: hsl(221, 95%, 14%) | |
| HEX | #021746 | color: #021746 | |
| RGB | rgb(2, 23, 70) | color: rgb(2, 23, 70) | |
| CMYK | cmyk(97%, 67%, 0%, 73%) | — | |
| HSV | hsv(221, 97%, 27%) | — | |
| HWB | hwb(221 1% 73%) | color: hwb(221 1% 73%) | |
| OKLCH | oklch(0.2251 0.0929 261.81) | color: oklch(0.2251 0.0929 261.81) | |
| Lab | lab(9.54 13.52 -31.74) | color: lab(9.54 13.52 -31.74) | |
| LCH | lch(9.54 34.5 293.07) | color: lch(9.54 34.5 293.07) |
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)
#0B0B3B — rgb(11, 11, 59)
Deuteranopia (Green-blind)
#0A0838 — rgb(10, 8, 56)
Tritanopia (Blue-blind)
#033230 — rgb(3, 50, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 95%, 14%);
text
color: hsl(221, 95%, 14%);
border
border: 2px solid hsl(221, 95%, 14%);
gradient light
background: linear-gradient(to right, hsl(221, 95%, 34%), hsl(221, 95%, 14%));
gradient dark
background: linear-gradient(to right, hsl(221, 95%, 14%), hsl(221, 95%, 0%))
hex
background-color: #021746;
tailwind
bg-[hsl(221,95%,14%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 95%, 14%, 0.4);
css variable
--color-primary: hsl(221, 95%, 14%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 95%, 14%)?
HEX: #021746 | RGB: rgb(2, 23, 70) | CMYK: 97%, 67%, 0%, 73% | HSV: 221°, 97%, 27%. Copy any format from the conversion table above.
What colors go well with #021746?
The complementary color is HSL(41, 95%, 14%). 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, 95%, 14%) in CSS?
As HSL: color: hsl(221, 95%, 14%); — As HEX: color: #021746; — As RGB: color: rgb(2, 23, 70); — Tailwind CSS: bg-[hsl(221,95%,14%)] — CSS variable: --color-primary: hsl(221, 95%, 14%);