HSL(211, 21%, 13%)
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(211,21%,13%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(211, 21%, 13%) | color: hsl(211, 21%, 13%) | |
| HEX | #1A2128 | color: #1A2128 | |
| RGB | rgb(26, 33, 40) | color: rgb(26, 33, 40) | |
| CMYK | cmyk(35%, 18%, 0%, 84%) | — | |
| HSV | hsv(210, 35%, 16%) | — | |
| HWB | hwb(210 10% 84%) | color: hwb(210 10% 84%) | |
| OKLCH | oklch(0.244 0.0169 248.52) | color: oklch(0.244 0.0169 248.52) | |
| Lab | lab(12.35 -1.05 -5.73) | color: lab(12.35 -1.05 -5.73) | |
| LCH | lch(12.35 5.83 259.62) | color: lch(12.35 5.83 259.62) |
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)
#1D1D26 — rgb(29, 29, 38)
Deuteranopia (Green-blind)
#1D1C26 — rgb(29, 28, 38)
Tritanopia (Blue-blind)
#1A2525 — rgb(26, 37, 37)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(211, 21%, 13%);
text
color: hsl(211, 21%, 13%);
border
border: 2px solid hsl(211, 21%, 13%);
gradient light
background: linear-gradient(to right, hsl(211, 21%, 33%), hsl(211, 21%, 13%));
gradient dark
background: linear-gradient(to right, hsl(211, 21%, 13%), hsl(211, 21%, 0%))
hex
background-color: #1A2128;
tailwind
bg-[hsl(211,21%,13%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(211, 21%, 13%, 0.4);
css variable
--color-primary: hsl(211, 21%, 13%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(211, 21%, 13%)?
HEX: #1A2128 | RGB: rgb(26, 33, 40) | CMYK: 35%, 18%, 0%, 84% | HSV: 210°, 35%, 16%. Copy any format from the conversion table above.
What colors go well with #1A2128?
The complementary color is HSL(31, 21%, 13%). For a triadic harmony, use hues 211°, 331°, and 91°. For analogous combinations, try hues 181° and 241°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(211, 21%, 13%) in CSS?
As HSL: color: hsl(211, 21%, 13%); — As HEX: color: #1A2128; — As RGB: color: rgb(26, 33, 40); — Tailwind CSS: bg-[hsl(211,21%,13%)] — CSS variable: --color-primary: hsl(211, 21%, 13%);