HSL(242, 35%, 10%)
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(242,35%,10%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(242, 35%, 10%) | color: hsl(242, 35%, 10%) | |
| HEX | #111122 | color: #111122 | |
| RGB | rgb(17, 17, 34) | color: rgb(17, 17, 34) | |
| CMYK | cmyk(50%, 50%, 0%, 87%) | — | |
| HSV | hsv(240, 50%, 13%) | — | |
| HWB | hwb(240 7% 87%) | color: hwb(240 7% 87%) | |
| OKLCH | oklch(0.1874 0.0343 282.58) | color: oklch(0.1874 0.0343 282.58) | |
| Lab | lab(5.74 4.76 -11.48) | color: lab(5.74 4.76 -11.48) | |
| LCH | lch(5.74 12.43 292.52) | color: lch(5.74 12.43 292.52) |
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)
#11111E — rgb(17, 17, 30)
Deuteranopia (Green-blind)
#11111D — rgb(17, 17, 29)
Tritanopia (Blue-blind)
#111B1A — rgb(17, 27, 26)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(242, 35%, 10%);
text
color: hsl(242, 35%, 10%);
border
border: 2px solid hsl(242, 35%, 10%);
gradient light
background: linear-gradient(to right, hsl(242, 35%, 30%), hsl(242, 35%, 10%));
gradient dark
background: linear-gradient(to right, hsl(242, 35%, 10%), hsl(242, 35%, 0%))
hex
background-color: #111122;
tailwind
bg-[hsl(242,35%,10%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(242, 35%, 10%, 0.4);
css variable
--color-primary: hsl(242, 35%, 10%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(242, 35%, 10%)?
HEX: #111122 | RGB: rgb(17, 17, 34) | CMYK: 50%, 50%, 0%, 87% | HSV: 240°, 50%, 13%. Copy any format from the conversion table above.
What colors go well with #111122?
The complementary color is HSL(62, 35%, 10%). For a triadic harmony, use hues 242°, 2°, and 122°. For analogous combinations, try hues 212° and 272°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(242, 35%, 10%) in CSS?
As HSL: color: hsl(242, 35%, 10%); — As HEX: color: #111122; — As RGB: color: rgb(17, 17, 34); — Tailwind CSS: bg-[hsl(242,35%,10%)] — CSS variable: --color-primary: hsl(242, 35%, 10%);