HSL(248, 70%, 8%)
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(248,70%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 70%, 8%) | color: hsl(248, 70%, 8%) | |
| HEX | #0A0623 | color: #0A0623 | |
| RGB | rgb(10, 6, 35) | color: rgb(10, 6, 35) | |
| CMYK | cmyk(71%, 83%, 0%, 86%) | — | |
| HSV | hsv(248, 83%, 14%) | — | |
| HWB | hwb(248 2% 86%) | color: hwb(248 2% 86%) | |
| OKLCH | oklch(0.1524 0.0589 284.04) | color: oklch(0.1524 0.0589 284.04) | |
| Lab | lab(2.86 7.91 -16.73) | color: lab(2.86 7.91 -16.73) | |
| LCH | lch(2.86 18.51 295.3) | color: lch(2.86 18.51 295.3) |
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)
#08081C — rgb(8, 8, 28)
Deuteranopia (Green-blind)
#09091A — rgb(9, 9, 26)
Tritanopia (Blue-blind)
#0A1615 — rgb(10, 22, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 70%, 8%);
text
color: hsl(248, 70%, 8%);
border
border: 2px solid hsl(248, 70%, 8%);
gradient light
background: linear-gradient(to right, hsl(248, 70%, 28%), hsl(248, 70%, 8%));
gradient dark
background: linear-gradient(to right, hsl(248, 70%, 8%), hsl(248, 70%, 0%))
hex
background-color: #0A0623;
tailwind
bg-[hsl(248,70%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 70%, 8%, 0.4);
css variable
--color-primary: hsl(248, 70%, 8%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 70%, 8%)?
HEX: #0A0623 | RGB: rgb(10, 6, 35) | CMYK: 71%, 83%, 0%, 86% | HSV: 248°, 83%, 14%. Copy any format from the conversion table above.
What colors go well with #0A0623?
The complementary color is HSL(68, 70%, 8%). For a triadic harmony, use hues 248°, 8°, and 128°. For analogous combinations, try hues 218° and 278°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(248, 70%, 8%) in CSS?
As HSL: color: hsl(248, 70%, 8%); — As HEX: color: #0A0623; — As RGB: color: rgb(10, 6, 35); — Tailwind CSS: bg-[hsl(248,70%,8%)] — CSS variable: --color-primary: hsl(248, 70%, 8%);