HSL(233, 42%, 9%)
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,42%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 42%, 9%) | color: hsl(233, 42%, 9%) | |
| HEX | #0D1021 | color: #0D1021 | |
| RGB | rgb(13, 16, 33) | color: rgb(13, 16, 33) | |
| CMYK | cmyk(61%, 52%, 0%, 87%) | — | |
| HSV | hsv(231, 61%, 13%) | — | |
| HWB | hwb(231 5% 87%) | color: hwb(231 5% 87%) | |
| OKLCH | oklch(0.1799 0.0353 274.72) | color: oklch(0.1799 0.0353 274.72) | |
| Lab | lab(5.11 3.6 -11.7) | color: lab(5.11 3.6 -11.7) | |
| LCH | lch(5.11 12.24 287.1) | color: lch(5.11 12.24 287.1) |
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)
#0E0E1D — rgb(14, 14, 29)
Deuteranopia (Green-blind)
#0E0E1C — rgb(14, 14, 28)
Tritanopia (Blue-blind)
#0D1A19 — rgb(13, 26, 25)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 42%, 9%);
text
color: hsl(233, 42%, 9%);
border
border: 2px solid hsl(233, 42%, 9%);
gradient light
background: linear-gradient(to right, hsl(233, 42%, 29%), hsl(233, 42%, 9%));
gradient dark
background: linear-gradient(to right, hsl(233, 42%, 9%), hsl(233, 42%, 0%))
hex
background-color: #0D1021;
tailwind
bg-[hsl(233,42%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 42%, 9%, 0.4);
css variable
--color-primary: hsl(233, 42%, 9%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 42%, 9%)?
HEX: #0D1021 | RGB: rgb(13, 16, 33) | CMYK: 61%, 52%, 0%, 87% | HSV: 231°, 61%, 13%. Copy any format from the conversion table above.
What colors go well with #0D1021?
The complementary color is HSL(53, 42%, 9%). 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, 42%, 9%) in CSS?
As HSL: color: hsl(233, 42%, 9%); — As HEX: color: #0D1021; — As RGB: color: rgb(13, 16, 33); — Tailwind CSS: bg-[hsl(233,42%,9%)] — CSS variable: --color-primary: hsl(233, 42%, 9%);