HSL(237, 35%, 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(237,35%,9%)]

Color Conversions

Format Value CSS Usage
HSL hsl(237, 35%, 9%) color: hsl(237, 35%, 9%)
HEX #0F101F color: #0F101F
RGB rgb(15, 16, 31) color: rgb(15, 16, 31)
CMYK cmyk(52%, 48%, 0%, 88%)
HSV hsv(236, 52%, 12%)
HWB hwb(236 6% 88%) color: hwb(236 6% 88%)
OKLCH oklch(0.1804 0.0307 279.92) color: oklch(0.1804 0.0307 279.92)
Lab lab(5.16 3.55 -10.07) color: lab(5.16 3.55 -10.07)
LCH lch(5.16 10.68 289.42) color: lch(5.16 10.68 289.42)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 18.85:1
vs Black 1.11:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#0F0F1B — rgb(15, 15, 27)

Deuteranopia (Green-blind)

#0F0F1B — rgb(15, 15, 27)

Tritanopia (Blue-blind)

#0F1918 — rgb(15, 25, 24)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(237, 35%, 9%);

text

color: hsl(237, 35%, 9%);

border

border: 2px solid hsl(237, 35%, 9%);

gradient light

background: linear-gradient(to right, hsl(237, 35%, 29%), hsl(237, 35%, 9%));

gradient dark

background: linear-gradient(to right, hsl(237, 35%, 9%), hsl(237, 35%, 0%))

hex

background-color: #0F101F;

tailwind

bg-[hsl(237,35%,9%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(237, 35%, 9%, 0.4);

css variable

--color-primary: hsl(237, 35%, 9%);

Related Colors

Use Cases for Very Dark Blue

Corporate branding Trust signals Tech products Social media Primary buttons

Frequently Asked Questions

What are all the color codes for HSL(237, 35%, 9%)?

HEX: #0F101F | RGB: rgb(15, 16, 31) | CMYK: 52%, 48%, 0%, 88% | HSV: 236°, 52%, 12%. Copy any format from the conversion table above.

What colors go well with #0F101F?

The complementary color is HSL(57, 35%, 9%). 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, 35%, 9%) in CSS?

As HSL: color: hsl(237, 35%, 9%); — As HEX: color: #0F101F; — As RGB: color: rgb(15, 16, 31); — Tailwind CSS: bg-[hsl(237,35%,9%)] — CSS variable: --color-primary: hsl(237, 35%, 9%);