HSL(251, 10%, 10%)
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(251,10%,10%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 10%, 10%) | color: hsl(251, 10%, 10%) | |
| HEX | #18171C | color: #18171C | |
| RGB | rgb(24, 23, 28) | color: rgb(24, 23, 28) | |
| CMYK | cmyk(14%, 18%, 0%, 89%) | — | |
| HSV | hsv(252, 18%, 11%) | — | |
| HWB | hwb(252 9% 89%) | color: hwb(252 9% 89%) | |
| OKLCH | oklch(0.208 0.0099 294.69) | color: oklch(0.208 0.0099 294.69) | |
| Lab | lab(8.05 1.84 -3.33) | color: lab(8.05 1.84 -3.33) | |
| LCH | lch(8.05 3.8 298.92) | color: lch(8.05 3.8 298.92) |
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)
#18181B — rgb(24, 24, 27)
Deuteranopia (Green-blind)
#18181B — rgb(24, 24, 27)
Tritanopia (Blue-blind)
#181A1A — rgb(24, 26, 26)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 10%, 10%);
text
color: hsl(251, 10%, 10%);
border
border: 2px solid hsl(251, 10%, 10%);
gradient light
background: linear-gradient(to right, hsl(251, 10%, 30%), hsl(251, 10%, 10%));
gradient dark
background: linear-gradient(to right, hsl(251, 10%, 10%), hsl(251, 10%, 0%))
hex
background-color: #18171C;
tailwind
bg-[hsl(251,10%,10%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 10%, 10%, 0.4);
css variable
--color-primary: hsl(251, 10%, 10%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 10%, 10%)?
HEX: #18171C | RGB: rgb(24, 23, 28) | CMYK: 14%, 18%, 0%, 89% | HSV: 252°, 18%, 11%. Copy any format from the conversion table above.
What colors go well with #18171C?
The complementary color is HSL(71, 10%, 10%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(251, 10%, 10%) in CSS?
As HSL: color: hsl(251, 10%, 10%); — As HEX: color: #18171C; — As RGB: color: rgb(24, 23, 28); — Tailwind CSS: bg-[hsl(251,10%,10%)] — CSS variable: --color-primary: hsl(251, 10%, 10%);