HSL(233, 52%, 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(233,52%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 52%, 8%) | color: hsl(233, 52%, 8%) | |
| HEX | #0A0C1F | color: #0A0C1F | |
| RGB | rgb(10, 12, 31) | color: rgb(10, 12, 31) | |
| CMYK | cmyk(68%, 61%, 0%, 88%) | — | |
| HSV | hsv(234, 68%, 12%) | — | |
| HWB | hwb(234 4% 88%) | color: hwb(234 4% 88%) | |
| OKLCH | oklch(0.1645 0.0397 276.59) | color: oklch(0.1645 0.0397 276.59) | |
| Lab | lab(3.85 4.04 -12.08) | color: lab(3.85 4.04 -12.08) | |
| LCH | lch(3.85 12.74 288.49) | color: lch(3.85 12.74 288.49) |
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)
#0B0B1A — rgb(11, 11, 26)
Deuteranopia (Green-blind)
#0B0B19 — rgb(11, 11, 25)
Tritanopia (Blue-blind)
#0A1716 — rgb(10, 23, 22)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 52%, 8%);
text
color: hsl(233, 52%, 8%);
border
border: 2px solid hsl(233, 52%, 8%);
gradient light
background: linear-gradient(to right, hsl(233, 52%, 28%), hsl(233, 52%, 8%));
gradient dark
background: linear-gradient(to right, hsl(233, 52%, 8%), hsl(233, 52%, 0%))
hex
background-color: #0A0C1F;
tailwind
bg-[hsl(233,52%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 52%, 8%, 0.4);
css variable
--color-primary: hsl(233, 52%, 8%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 52%, 8%)?
HEX: #0A0C1F | RGB: rgb(10, 12, 31) | CMYK: 68%, 61%, 0%, 88% | HSV: 234°, 68%, 12%. Copy any format from the conversion table above.
What colors go well with #0A0C1F?
The complementary color is HSL(53, 52%, 8%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 52%, 8%) in CSS?
As HSL: color: hsl(233, 52%, 8%); — As HEX: color: #0A0C1F; — As RGB: color: rgb(10, 12, 31); — Tailwind CSS: bg-[hsl(233,52%,8%)] — CSS variable: --color-primary: hsl(233, 52%, 8%);