HSL(197, 40%, 10%)
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(197,40%,10%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(197, 40%, 10%) | color: hsl(197, 40%, 10%) | |
| HEX | #0F1E24 | color: #0F1E24 | |
| RGB | rgb(15, 30, 36) | color: rgb(15, 30, 36) | |
| CMYK | cmyk(58%, 17%, 0%, 86%) | — | |
| HSV | hsv(197, 58%, 14%) | — | |
| HWB | hwb(197 6% 86%) | color: hwb(197 6% 86%) | |
| OKLCH | oklch(0.2245 0.0236 225.41) | color: oklch(0.2245 0.0236 225.41) | |
| Lab | lab(10.24 -4.29 -6.09) | color: lab(10.24 -4.29 -6.09) | |
| LCH | lch(10.24 7.45 234.84) | color: lch(10.24 7.45 234.84) |
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)
#151623 — rgb(21, 22, 35)
Deuteranopia (Green-blind)
#151422 — rgb(21, 20, 34)
Tritanopia (Blue-blind)
#102121 — rgb(16, 33, 33)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(197, 40%, 10%);
text
color: hsl(197, 40%, 10%);
border
border: 2px solid hsl(197, 40%, 10%);
gradient light
background: linear-gradient(to right, hsl(197, 40%, 30%), hsl(197, 40%, 10%));
gradient dark
background: linear-gradient(to right, hsl(197, 40%, 10%), hsl(197, 40%, 0%))
hex
background-color: #0F1E24;
tailwind
bg-[hsl(197,40%,10%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(197, 40%, 10%, 0.4);
css variable
--color-primary: hsl(197, 40%, 10%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(197, 40%, 10%)?
HEX: #0F1E24 | RGB: rgb(15, 30, 36) | CMYK: 58%, 17%, 0%, 86% | HSV: 197°, 58%, 14%. Copy any format from the conversion table above.
What colors go well with #0F1E24?
The complementary color is HSL(17, 40%, 10%). For a triadic harmony, use hues 197°, 317°, and 77°. For analogous combinations, try hues 167° and 227°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(197, 40%, 10%) in CSS?
As HSL: color: hsl(197, 40%, 10%); — As HEX: color: #0F1E24; — As RGB: color: rgb(15, 30, 36); — Tailwind CSS: bg-[hsl(197,40%,10%)] — CSS variable: --color-primary: hsl(197, 40%, 10%);