HSL(202, 18%, 14%)
Very Dark Blue — Blue color
Adjust Color
Color Information
Color Name
Very Dark Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(202,18%,14%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(202, 18%, 14%) | color: hsl(202, 18%, 14%) | |
| HEX | #1D252A | color: #1D252A | |
| RGB | rgb(29, 37, 42) | color: rgb(29, 37, 42) | |
| CMYK | cmyk(31%, 12%, 0%, 84%) | — | |
| HSV | hsv(203, 31%, 16%) | — | |
| HWB | hwb(203 11% 84%) | color: hwb(203 11% 84%) | |
| OKLCH | oklch(0.2589 0.0148 235.58) | color: oklch(0.2589 0.0148 235.58) | |
| Lab | lab(14.12 -2.08 -4.48) | color: lab(14.12 -2.08 -4.48) | |
| LCH | lch(14.12 4.94 245.1) | color: lch(14.12 4.94 245.1) |
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)
#202129 — rgb(32, 33, 41)
Deuteranopia (Green-blind)
#201F29 — rgb(32, 31, 41)
Tritanopia (Blue-blind)
#1D2828 — rgb(29, 40, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(202, 18%, 14%);
text
color: hsl(202, 18%, 14%);
border
border: 2px solid hsl(202, 18%, 14%);
gradient light
background: linear-gradient(to right, hsl(202, 18%, 34%), hsl(202, 18%, 14%));
gradient dark
background: linear-gradient(to right, hsl(202, 18%, 14%), hsl(202, 18%, 0%))
hex
background-color: #1D252A;
tailwind
bg-[hsl(202,18%,14%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(202, 18%, 14%, 0.4);
css variable
--color-primary: hsl(202, 18%, 14%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(202, 18%, 14%)?
HEX: #1D252A | RGB: rgb(29, 37, 42) | CMYK: 31%, 12%, 0%, 84% | HSV: 203°, 31%, 16%. Copy any format from the conversion table above.
What colors go well with #1D252A?
The complementary color is HSL(22, 18%, 14%). For a triadic harmony, use hues 202°, 322°, and 82°. For analogous combinations, try hues 172° and 232°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(202, 18%, 14%) in CSS?
As HSL: color: hsl(202, 18%, 14%); — As HEX: color: #1D252A; — As RGB: color: rgb(29, 37, 42); — Tailwind CSS: bg-[hsl(202,18%,14%)] — CSS variable: --color-primary: hsl(202, 18%, 14%);