HSL(225, 40%, 10%)

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(225,40%,10%)]

Color Conversions

Format Value CSS Usage
HSL hsl(225, 40%, 10%) color: hsl(225, 40%, 10%)
HEX #0F1424 color: #0F1424
RGB rgb(15, 20, 36) color: rgb(15, 20, 36)
CMYK cmyk(58%, 44%, 0%, 86%)
HSV hsv(226, 58%, 14%)
HWB hwb(226 6% 86%) color: hwb(226 6% 86%)
OKLCH oklch(0.1951 0.0334 269.92) color: oklch(0.1951 0.0334 269.92)
Lab lab(6.59 2.97 -11.71) color: lab(6.59 2.97 -11.71)
LCH lch(6.59 12.08 284.23) color: lch(6.59 12.08 284.23)

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.33:1
vs Black 1.15: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)

#111120 — rgb(17, 17, 32)

Deuteranopia (Green-blind)

#11111F — rgb(17, 17, 31)

Tritanopia (Blue-blind)

#0F1D1C — rgb(15, 29, 28)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(225, 40%, 10%);

text

color: hsl(225, 40%, 10%);

border

border: 2px solid hsl(225, 40%, 10%);

gradient light

background: linear-gradient(to right, hsl(225, 40%, 30%), hsl(225, 40%, 10%));

gradient dark

background: linear-gradient(to right, hsl(225, 40%, 10%), hsl(225, 40%, 0%))

hex

background-color: #0F1424;

tailwind

bg-[hsl(225,40%,10%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(225, 40%, 10%, 0.4);

css variable

--color-primary: hsl(225, 40%, 10%);

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(225, 40%, 10%)?

HEX: #0F1424 | RGB: rgb(15, 20, 36) | CMYK: 58%, 44%, 0%, 86% | HSV: 226°, 58%, 14%. Copy any format from the conversion table above.

What colors go well with #0F1424?

The complementary color is HSL(45, 40%, 10%). For a triadic harmony, use hues 225°, 345°, and 105°. For analogous combinations, try hues 195° and 255°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(225, 40%, 10%) in CSS?

As HSL: color: hsl(225, 40%, 10%); — As HEX: color: #0F1424; — As RGB: color: rgb(15, 20, 36); — Tailwind CSS: bg-[hsl(225,40%,10%)] — CSS variable: --color-primary: hsl(225, 40%, 10%);