HSL(227, 45%, 12%)
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,45%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 45%, 12%) | color: hsl(227, 45%, 12%) | |
| HEX | #11172C | color: #11172C | |
| RGB | rgb(17, 23, 44) | color: rgb(17, 23, 44) | |
| CMYK | cmyk(61%, 48%, 0%, 83%) | — | |
| HSV | hsv(227, 61%, 17%) | — | |
| HWB | hwb(227 7% 83%) | color: hwb(227 7% 83%) | |
| OKLCH | oklch(0.2108 0.0426 270.37) | color: oklch(0.2108 0.0426 270.37) | |
| Lab | lab(8.25 4.74 -15.08) | color: lab(8.25 4.74 -15.08) | |
| LCH | lch(8.25 15.81 287.45) | color: lch(8.25 15.81 287.45) |
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)
#141427 — rgb(20, 20, 39)
Deuteranopia (Green-blind)
#131326 — rgb(19, 19, 38)
Tritanopia (Blue-blind)
#112322 — rgb(17, 35, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 45%, 12%);
text
color: hsl(227, 45%, 12%);
border
border: 2px solid hsl(227, 45%, 12%);
gradient light
background: linear-gradient(to right, hsl(227, 45%, 32%), hsl(227, 45%, 12%));
gradient dark
background: linear-gradient(to right, hsl(227, 45%, 12%), hsl(227, 45%, 0%))
hex
background-color: #11172C;
tailwind
bg-[hsl(227,45%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 45%, 12%, 0.4);
css variable
--color-primary: hsl(227, 45%, 12%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 45%, 12%)?
HEX: #11172C | RGB: rgb(17, 23, 44) | CMYK: 61%, 48%, 0%, 83% | HSV: 227°, 61%, 17%. Copy any format from the conversion table above.
What colors go well with #11172C?
The complementary color is HSL(47, 45%, 12%). 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, 45%, 12%) in CSS?
As HSL: color: hsl(227, 45%, 12%); — As HEX: color: #11172C; — As RGB: color: rgb(17, 23, 44); — Tailwind CSS: bg-[hsl(227,45%,12%)] — CSS variable: --color-primary: hsl(227, 45%, 12%);