HSL(237, 52%, 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,52%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 52%, 12%) | color: hsl(237, 52%, 12%) | |
| HEX | #0F102F | color: #0F102F | |
| RGB | rgb(15, 16, 47) | color: rgb(15, 16, 47) | |
| CMYK | cmyk(68%, 66%, 0%, 82%) | — | |
| HSV | hsv(238, 68%, 18%) | — | |
| HWB | hwb(238 6% 82%) | color: hwb(238 6% 82%) | |
| OKLCH | oklch(0.1936 0.0607 277.71) | color: oklch(0.1936 0.0607 277.71) | |
| Lab | lab(6.12 10.26 -20.7) | color: lab(6.12 10.26 -20.7) | |
| LCH | lch(6.12 23.1 296.37) | color: lch(6.12 23.1 296.37) |
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)
#0F0F27 — rgb(15, 15, 39)
Deuteranopia (Green-blind)
#0F0F26 — rgb(15, 15, 38)
Tritanopia (Blue-blind)
#0F2220 — rgb(15, 34, 32)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 52%, 12%);
text
color: hsl(237, 52%, 12%);
border
border: 2px solid hsl(237, 52%, 12%);
gradient light
background: linear-gradient(to right, hsl(237, 52%, 32%), hsl(237, 52%, 12%));
gradient dark
background: linear-gradient(to right, hsl(237, 52%, 12%), hsl(237, 52%, 0%))
hex
background-color: #0F102F;
tailwind
bg-[hsl(237,52%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 52%, 12%, 0.4);
css variable
--color-primary: hsl(237, 52%, 12%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 52%, 12%)?
HEX: #0F102F | RGB: rgb(15, 16, 47) | CMYK: 68%, 66%, 0%, 82% | HSV: 238°, 68%, 18%. Copy any format from the conversion table above.
What colors go well with #0F102F?
The complementary color is HSL(57, 52%, 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, 52%, 12%) in CSS?
As HSL: color: hsl(237, 52%, 12%); — As HEX: color: #0F102F; — As RGB: color: rgb(15, 16, 47); — Tailwind CSS: bg-[hsl(237,52%,12%)] — CSS variable: --color-primary: hsl(237, 52%, 12%);