HSL(237, 50%, 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(237,50%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 50%, 12%) | color: hsl(237, 50%, 12%) | |
| HEX | #0F112E | color: #0F112E | |
| RGB | rgb(15, 17, 46) | color: rgb(15, 17, 46) | |
| CMYK | cmyk(67%, 63%, 0%, 82%) | — | |
| HSV | hsv(236, 67%, 18%) | — | |
| HWB | hwb(236 6% 82%) | color: hwb(236 6% 82%) | |
| OKLCH | oklch(0.1951 0.0572 276.74) | color: oklch(0.1951 0.0572 276.74) | |
| Lab | lab(6.32 9.2 -19.64) | color: lab(6.32 9.2 -19.64) | |
| LCH | lch(6.32 21.69 295.1) | color: lch(6.32 21.69 295.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)
#101027 — rgb(16, 16, 39)
Deuteranopia (Green-blind)
#101025 — rgb(16, 16, 37)
Tritanopia (Blue-blind)
#0F2120 — rgb(15, 33, 32)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 50%, 12%);
text
color: hsl(237, 50%, 12%);
border
border: 2px solid hsl(237, 50%, 12%);
gradient light
background: linear-gradient(to right, hsl(237, 50%, 32%), hsl(237, 50%, 12%));
gradient dark
background: linear-gradient(to right, hsl(237, 50%, 12%), hsl(237, 50%, 0%))
hex
background-color: #0F112E;
tailwind
bg-[hsl(237,50%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 50%, 12%, 0.4);
css variable
--color-primary: hsl(237, 50%, 12%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 50%, 12%)?
HEX: #0F112E | RGB: rgb(15, 17, 46) | CMYK: 67%, 63%, 0%, 82% | HSV: 236°, 67%, 18%. Copy any format from the conversion table above.
What colors go well with #0F112E?
The complementary color is HSL(57, 50%, 12%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 50%, 12%) in CSS?
As HSL: color: hsl(237, 50%, 12%); — As HEX: color: #0F112E; — As RGB: color: rgb(15, 17, 46); — Tailwind CSS: bg-[hsl(237,50%,12%)] — CSS variable: --color-primary: hsl(237, 50%, 12%);