HSL(230, 21%, 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(230,21%,14%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 21%, 14%) | color: hsl(230, 21%, 14%) | |
| HEX | #1C1F2B | color: #1C1F2B | |
| RGB | rgb(28, 31, 43) | color: rgb(28, 31, 43) | |
| CMYK | cmyk(35%, 28%, 0%, 83%) | — | |
| HSV | hsv(228, 35%, 17%) | — | |
| HWB | hwb(228 11% 83%) | color: hwb(228 11% 83%) | |
| OKLCH | oklch(0.2419 0.0234 273.63) | color: oklch(0.2419 0.0234 273.63) | |
| Lab | lab(11.97 2.16 -8.49) | color: lab(11.97 2.16 -8.49) | |
| LCH | lch(11.97 8.76 284.27) | color: lch(11.97 8.76 284.27) |
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)
#1D1D28 — rgb(29, 29, 40)
Deuteranopia (Green-blind)
#1D1D27 — rgb(29, 29, 39)
Tritanopia (Blue-blind)
#1C2625 — rgb(28, 38, 37)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 21%, 14%);
text
color: hsl(230, 21%, 14%);
border
border: 2px solid hsl(230, 21%, 14%);
gradient light
background: linear-gradient(to right, hsl(230, 21%, 34%), hsl(230, 21%, 14%));
gradient dark
background: linear-gradient(to right, hsl(230, 21%, 14%), hsl(230, 21%, 0%))
hex
background-color: #1C1F2B;
tailwind
bg-[hsl(230,21%,14%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 21%, 14%, 0.4);
css variable
--color-primary: hsl(230, 21%, 14%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 21%, 14%)?
HEX: #1C1F2B | RGB: rgb(28, 31, 43) | CMYK: 35%, 28%, 0%, 83% | HSV: 228°, 35%, 17%. Copy any format from the conversion table above.
What colors go well with #1C1F2B?
The complementary color is HSL(50, 21%, 14%). For a triadic harmony, use hues 230°, 350°, and 110°. For analogous combinations, try hues 200° and 260°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(230, 21%, 14%) in CSS?
As HSL: color: hsl(230, 21%, 14%); — As HEX: color: #1C1F2B; — As RGB: color: rgb(28, 31, 43); — Tailwind CSS: bg-[hsl(230,21%,14%)] — CSS variable: --color-primary: hsl(230, 21%, 14%);