HSL(199, 75%, 20%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(199,75%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(199, 75%, 20%) color: hsl(199, 75%, 20%)
HEX #0D4159 color: #0D4159
RGB rgb(13, 65, 89) color: rgb(13, 65, 89)
CMYK cmyk(85%, 27%, 0%, 65%)
HSV hsv(199, 85%, 35%)
HWB hwb(199 5% 65%) color: hwb(199 5% 65%)
OKLCH oklch(0.3547 0.0665 233.78) color: oklch(0.3547 0.0665 233.78)
Lab lab(25.52 -7.14 -19.04) color: lab(25.52 -7.14 -19.04)
LCH lch(25.52 20.33 249.44) color: lch(25.52 20.33 249.44)

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 10.95:1
vs Black 1.92: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)

#242453 — rgb(36, 36, 83)

Deuteranopia (Green-blind)

#211D52 — rgb(33, 29, 82)

Tritanopia (Blue-blind)

#104F4E — rgb(16, 79, 78)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(199, 75%, 20%);

text

color: hsl(199, 75%, 20%);

border

border: 2px solid hsl(199, 75%, 20%);

gradient light

background: linear-gradient(to right, hsl(199, 75%, 40%), hsl(199, 75%, 20%));

gradient dark

background: linear-gradient(to right, hsl(199, 75%, 20%), hsl(199, 75%, 0%))

hex

background-color: #0D4159;

tailwind

bg-[hsl(199,75%,20%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(199, 75%, 20%, 0.4);

css variable

--color-primary: hsl(199, 75%, 20%);

Related Colors

Use Cases for Blue

Corporate branding Trust signals Tech products Social media Primary buttons

Frequently Asked Questions

What are all the color codes for HSL(199, 75%, 20%)?

HEX: #0D4159 | RGB: rgb(13, 65, 89) | CMYK: 85%, 27%, 0%, 65% | HSV: 199°, 85%, 35%. Copy any format from the conversion table above.

What colors go well with #0D4159?

The complementary color is HSL(19, 75%, 20%). For a triadic harmony, use hues 199°, 319°, and 79°. For analogous combinations, try hues 169° and 229°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(199, 75%, 20%) in CSS?

As HSL: color: hsl(199, 75%, 20%); — As HEX: color: #0D4159; — As RGB: color: rgb(13, 65, 89); — Tailwind CSS: bg-[hsl(199,75%,20%)] — CSS variable: --color-primary: hsl(199, 75%, 20%);