HSL(227, 71%, 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(227,71%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 71%, 9%) | color: hsl(227, 71%, 9%) | |
| HEX | #070E27 | color: #070E27 | |
| RGB | rgb(7, 14, 39) | color: rgb(7, 14, 39) | |
| CMYK | cmyk(82%, 64%, 0%, 85%) | — | |
| HSV | hsv(227, 82%, 15%) | — | |
| HWB | hwb(227 3% 85%) | color: hwb(227 3% 85%) | |
| OKLCH | oklch(0.1743 0.0525 268.26) | color: oklch(0.1743 0.0525 268.26) | |
| Lab | lab(4.57 5.33 -17.17) | color: lab(4.57 5.33 -17.17) | |
| LCH | lch(4.57 17.98 287.25) | color: lch(4.57 17.98 287.25) |
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)
#0A0A21 — rgb(10, 10, 33)
Deuteranopia (Green-blind)
#0A0920 — rgb(10, 9, 32)
Tritanopia (Blue-blind)
#071C1B — rgb(7, 28, 27)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 71%, 9%);
text
color: hsl(227, 71%, 9%);
border
border: 2px solid hsl(227, 71%, 9%);
gradient light
background: linear-gradient(to right, hsl(227, 71%, 29%), hsl(227, 71%, 9%));
gradient dark
background: linear-gradient(to right, hsl(227, 71%, 9%), hsl(227, 71%, 0%))
hex
background-color: #070E27;
tailwind
bg-[hsl(227,71%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 71%, 9%, 0.4);
css variable
--color-primary: hsl(227, 71%, 9%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 71%, 9%)?
HEX: #070E27 | RGB: rgb(7, 14, 39) | CMYK: 82%, 64%, 0%, 85% | HSV: 227°, 82%, 15%. Copy any format from the conversion table above.
What colors go well with #070E27?
The complementary color is HSL(47, 71%, 9%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(227, 71%, 9%) in CSS?
As HSL: color: hsl(227, 71%, 9%); — As HEX: color: #070E27; — As RGB: color: rgb(7, 14, 39); — Tailwind CSS: bg-[hsl(227,71%,9%)] — CSS variable: --color-primary: hsl(227, 71%, 9%);