HSL(198, 50%, 7%)
Very Dark Blue — Blue color
Adjust Color
Color Information
Color Name
Very Dark Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(198,50%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(198, 50%, 7%) | color: hsl(198, 50%, 7%) | |
| HEX | #09151B | color: #09151B | |
| RGB | rgb(9, 21, 27) | color: rgb(9, 21, 27) | |
| CMYK | cmyk(67%, 22%, 0%, 89%) | — | |
| HSV | hsv(200, 67%, 11%) | — | |
| HWB | hwb(200 4% 89%) | color: hwb(200 4% 89%) | |
| OKLCH | oklch(0.1876 0.0211 231.08) | color: oklch(0.1876 0.0211 231.08) | |
| Lab | lab(6.08 -2.52 -5.63) | color: lab(6.08 -2.52 -5.63) | |
| LCH | lch(6.08 6.17 245.89) | color: lch(6.08 6.17 245.89) |
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)
#0E0E1A — rgb(14, 14, 26)
Deuteranopia (Green-blind)
#0E0D19 — rgb(14, 13, 25)
Tritanopia (Blue-blind)
#0A1818 — rgb(10, 24, 24)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(198, 50%, 7%);
text
color: hsl(198, 50%, 7%);
border
border: 2px solid hsl(198, 50%, 7%);
gradient light
background: linear-gradient(to right, hsl(198, 50%, 27%), hsl(198, 50%, 7%));
gradient dark
background: linear-gradient(to right, hsl(198, 50%, 7%), hsl(198, 50%, 0%))
hex
background-color: #09151B;
tailwind
bg-[hsl(198,50%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(198, 50%, 7%, 0.4);
css variable
--color-primary: hsl(198, 50%, 7%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(198, 50%, 7%)?
HEX: #09151B | RGB: rgb(9, 21, 27) | CMYK: 67%, 22%, 0%, 89% | HSV: 200°, 67%, 11%. Copy any format from the conversion table above.
What colors go well with #09151B?
The complementary color is HSL(18, 50%, 7%). For a triadic harmony, use hues 198°, 318°, and 78°. For analogous combinations, try hues 168° and 228°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(198, 50%, 7%) in CSS?
As HSL: color: hsl(198, 50%, 7%); — As HEX: color: #09151B; — As RGB: color: rgb(9, 21, 27); — Tailwind CSS: bg-[hsl(198,50%,7%)] — CSS variable: --color-primary: hsl(198, 50%, 7%);