HSL(221, 65%, 14%)
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(221,65%,14%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 65%, 14%) | color: hsl(221, 65%, 14%) | |
| HEX | #0C1B3B | color: #0C1B3B | |
| RGB | rgb(12, 27, 59) | color: rgb(12, 27, 59) | |
| CMYK | cmyk(80%, 54%, 0%, 77%) | — | |
| HSV | hsv(221, 80%, 23%) | — | |
| HWB | hwb(221 5% 77%) | color: hwb(221 5% 77%) | |
| OKLCH | oklch(0.2298 0.0651 263.3) | color: oklch(0.2298 0.0651 263.3) | |
| Lab | lab(10.39 6.81 -22.57) | color: lab(10.39 6.81 -22.57) | |
| LCH | lch(10.39 23.58 286.79) | color: lch(10.39 23.58 286.79) |
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)
#121333 — rgb(18, 19, 51)
Deuteranopia (Green-blind)
#121131 — rgb(18, 17, 49)
Tritanopia (Blue-blind)
#0D2D2C — rgb(13, 45, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 65%, 14%);
text
color: hsl(221, 65%, 14%);
border
border: 2px solid hsl(221, 65%, 14%);
gradient light
background: linear-gradient(to right, hsl(221, 65%, 34%), hsl(221, 65%, 14%));
gradient dark
background: linear-gradient(to right, hsl(221, 65%, 14%), hsl(221, 65%, 0%))
hex
background-color: #0C1B3B;
tailwind
bg-[hsl(221,65%,14%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 65%, 14%, 0.4);
css variable
--color-primary: hsl(221, 65%, 14%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 65%, 14%)?
HEX: #0C1B3B | RGB: rgb(12, 27, 59) | CMYK: 80%, 54%, 0%, 77% | HSV: 221°, 80%, 23%. Copy any format from the conversion table above.
What colors go well with #0C1B3B?
The complementary color is HSL(41, 65%, 14%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(221, 65%, 14%) in CSS?
As HSL: color: hsl(221, 65%, 14%); — As HEX: color: #0C1B3B; — As RGB: color: rgb(12, 27, 59); — Tailwind CSS: bg-[hsl(221,65%,14%)] — CSS variable: --color-primary: hsl(221, 65%, 14%);