HSL(151, 72%, 15%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(151,72%,15%)]

Color Conversions

Format Value CSS Usage
HSL hsl(151, 72%, 15%) color: hsl(151, 72%, 15%)
HEX #0B4227 color: #0B4227
RGB rgb(11, 66, 39) color: rgb(11, 66, 39)
CMYK cmyk(83%, 0%, 41%, 74%)
HSV hsv(151, 83%, 26%)
HWB hwb(151 4% 74%) color: hwb(151 4% 74%)
OKLCH oklch(0.3367 0.0732 156.64) color: oklch(0.3367 0.0732 156.64)
Lab lab(24.04 -24.86 11.57) color: lab(24.04 -24.86 11.57)
LCH lch(24.04 27.42 155.04) color: lch(24.04 27.42 155.04)

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 11.52:1
vs Black 1.82: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)

#23232E — rgb(35, 35, 46)

Deuteranopia (Green-blind)

#201C2F — rgb(32, 28, 47)

Tritanopia (Blue-blind)

#0E3334 — rgb(14, 51, 52)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(151, 72%, 15%);

text

color: hsl(151, 72%, 15%);

border

border: 2px solid hsl(151, 72%, 15%);

gradient light

background: linear-gradient(to right, hsl(151, 72%, 35%), hsl(151, 72%, 15%));

gradient dark

background: linear-gradient(to right, hsl(151, 72%, 15%), hsl(151, 72%, 0%))

hex

background-color: #0B4227;

tailwind

bg-[hsl(151,72%,15%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(151, 72%, 15%, 0.4);

css variable

--color-primary: hsl(151, 72%, 15%);

Related Colors

Use Cases for 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(151, 72%, 15%)?

HEX: #0B4227 | RGB: rgb(11, 66, 39) | CMYK: 83%, 0%, 41%, 74% | HSV: 151°, 83%, 26%. Copy any format from the conversion table above.

What colors go well with #0B4227?

The complementary color is HSL(331, 72%, 15%). For a triadic harmony, use hues 151°, 271°, and 31°. For analogous combinations, try hues 121° and 181°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(151, 72%, 15%) in CSS?

As HSL: color: hsl(151, 72%, 15%); — As HEX: color: #0B4227; — As RGB: color: rgb(11, 66, 39); — Tailwind CSS: bg-[hsl(151,72%,15%)] — CSS variable: --color-primary: hsl(151, 72%, 15%);