HSL(158, 45%, 9%)

Very Dark Cyan — Cyan color

Adjust Color

Color Information

Color Name

Very Dark Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(158,45%,9%)]

Color Conversions

Format Value CSS Usage
HSL hsl(158, 45%, 9%) color: hsl(158, 45%, 9%)
HEX #0D211A color: #0D211A
RGB rgb(13, 33, 26) color: rgb(13, 33, 26)
CMYK cmyk(61%, 0%, 21%, 87%)
HSV hsv(159, 61%, 13%)
HWB hwb(159 5% 87%) color: hwb(159 5% 87%)
OKLCH oklch(0.2282 0.0297 168.82) color: oklch(0.2282 0.0297 168.82)
Lab lab(10.91 -10.34 2.25) color: lab(10.91 -10.34 2.25)
LCH lch(10.91 10.58 167.72) color: lch(10.91 10.58 167.72)

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 16.81:1
vs Black 1.25: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)

#16161C — rgb(22, 22, 28)

Deuteranopia (Green-blind)

#15131C — rgb(21, 19, 28)

Tritanopia (Blue-blind)

#0E1D1D — rgb(14, 29, 29)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(158, 45%, 9%);

text

color: hsl(158, 45%, 9%);

border

border: 2px solid hsl(158, 45%, 9%);

gradient light

background: linear-gradient(to right, hsl(158, 45%, 29%), hsl(158, 45%, 9%));

gradient dark

background: linear-gradient(to right, hsl(158, 45%, 9%), hsl(158, 45%, 0%))

hex

background-color: #0D211A;

tailwind

bg-[hsl(158,45%,9%)]

box shadow

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

css variable

--color-primary: hsl(158, 45%, 9%);

Related Colors

Use Cases for Very Dark Cyan

Tech/SaaS products Medical apps Water/ocean themes Clean UI elements Data viz

Frequently Asked Questions

What are all the color codes for HSL(158, 45%, 9%)?

HEX: #0D211A | RGB: rgb(13, 33, 26) | CMYK: 61%, 0%, 21%, 87% | HSV: 159°, 61%, 13%. Copy any format from the conversion table above.

What colors go well with #0D211A?

The complementary color is HSL(338, 45%, 9%). For a triadic harmony, use hues 158°, 278°, and 38°. For analogous combinations, try hues 128° and 188°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(158, 45%, 9%) in CSS?

As HSL: color: hsl(158, 45%, 9%); — As HEX: color: #0D211A; — As RGB: color: rgb(13, 33, 26); — Tailwind CSS: bg-[hsl(158,45%,9%)] — CSS variable: --color-primary: hsl(158, 45%, 9%);