HSL(245, 100%, 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(245,100%,10%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(245, 100%, 10%) | color: hsl(245, 100%, 10%) | |
| HEX | #040033 | color: #040033 | |
| RGB | rgb(4, 0, 51) | color: rgb(4, 0, 51) | |
| CMYK | cmyk(92%, 100%, 0%, 80%) | — | |
| HSV | hsv(245, 100%, 20%) | — | |
| HWB | hwb(245 0% 80%) | color: hwb(245 0% 80%) | |
| OKLCH | oklch(0.1502 0.0973 271.32) | color: oklch(0.1502 0.0973 271.32) | |
| Lab | lab(2.39 16.21 -29.68) | color: lab(2.39 16.21 -29.68) | |
| LCH | lch(2.39 33.82 298.64) | color: lch(2.39 33.82 298.64) |
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)
#020227 — rgb(2, 2, 39)
Deuteranopia (Green-blind)
#030324 — rgb(3, 3, 36)
Tritanopia (Blue-blind)
#041D1B — rgb(4, 29, 27)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(245, 100%, 10%);
text
color: hsl(245, 100%, 10%);
border
border: 2px solid hsl(245, 100%, 10%);
gradient light
background: linear-gradient(to right, hsl(245, 100%, 30%), hsl(245, 100%, 10%));
gradient dark
background: linear-gradient(to right, hsl(245, 100%, 10%), hsl(245, 100%, 0%))
hex
background-color: #040033;
tailwind
bg-[hsl(245,100%,10%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(245, 100%, 10%, 0.4);
css variable
--color-primary: hsl(245, 100%, 10%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(245, 100%, 10%)?
HEX: #040033 | RGB: rgb(4, 0, 51) | CMYK: 92%, 100%, 0%, 80% | HSV: 245°, 100%, 20%. Copy any format from the conversion table above.
What colors go well with #040033?
The complementary color is HSL(65, 100%, 10%). For a triadic harmony, use hues 245°, 5°, and 125°. For analogous combinations, try hues 215° and 275°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(245, 100%, 10%) in CSS?
As HSL: color: hsl(245, 100%, 10%); — As HEX: color: #040033; — As RGB: color: rgb(4, 0, 51); — Tailwind CSS: bg-[hsl(245,100%,10%)] — CSS variable: --color-primary: hsl(245, 100%, 10%);