HSL(207, 54%, 20%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(207,54%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(207, 54%, 20%) color: hsl(207, 54%, 20%)
HEX #17364F color: #17364F
RGB rgb(23, 54, 79) color: rgb(23, 54, 79)
CMYK cmyk(71%, 32%, 0%, 69%)
HSV hsv(207, 71%, 31%)
HWB hwb(207 9% 69%) color: hwb(207 9% 69%)
OKLCH oklch(0.3222 0.0579 245.34) color: oklch(0.3222 0.0579 245.34)
Lab lab(21.52 -2.27 -18.67) color: lab(21.52 -2.27 -18.67)
LCH lch(21.52 18.81 263.07) color: lch(21.52 18.81 263.07)

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 12.52:1
vs Black 1.68: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)

#242549 — rgb(36, 37, 73)

Deuteranopia (Green-blind)

#232048 — rgb(35, 32, 72)

Tritanopia (Blue-blind)

#194443 — rgb(25, 68, 67)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(207, 54%, 20%);

text

color: hsl(207, 54%, 20%);

border

border: 2px solid hsl(207, 54%, 20%);

gradient light

background: linear-gradient(to right, hsl(207, 54%, 40%), hsl(207, 54%, 20%));

gradient dark

background: linear-gradient(to right, hsl(207, 54%, 20%), hsl(207, 54%, 0%))

hex

background-color: #17364F;

tailwind

bg-[hsl(207,54%,20%)]

box shadow

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

css variable

--color-primary: hsl(207, 54%, 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(207, 54%, 20%)?

HEX: #17364F | RGB: rgb(23, 54, 79) | CMYK: 71%, 32%, 0%, 69% | HSV: 207°, 71%, 31%. Copy any format from the conversion table above.

What colors go well with #17364F?

The complementary color is HSL(27, 54%, 20%). For a triadic harmony, use hues 207°, 327°, and 87°. For analogous combinations, try hues 177° and 237°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(207, 54%, 20%) in CSS?

As HSL: color: hsl(207, 54%, 20%); — As HEX: color: #17364F; — As RGB: color: rgb(23, 54, 79); — Tailwind CSS: bg-[hsl(207,54%,20%)] — CSS variable: --color-primary: hsl(207, 54%, 20%);