HSL(204, 41%, 68%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(204,41%,68%)]

Color Conversions

Format Value CSS Usage
HSL hsl(204, 41%, 68%) color: hsl(204, 41%, 68%)
HEX #8CB4CF color: #8CB4CF
RGB rgb(140, 180, 207) color: rgb(140, 180, 207)
CMYK cmyk(32%, 13%, 0%, 19%)
HSV hsv(204, 32%, 81%)
HWB hwb(204 55% 19%) color: hwb(204 55% 19%)
OKLCH oklch(0.7503 0.0581 238.08) color: oklch(0.7503 0.0581 238.08)
Lab lab(71.37 -6.96 -17.98) color: lab(71.37 -6.96 -17.98)
LCH lch(71.37 19.28 248.84) color: lch(71.37 19.28 248.84)

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 2.2:1
vs Black 9.54:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#9D9EC8 — rgb(157, 158, 200)

Deuteranopia (Green-blind)

#9B98C7 — rgb(155, 152, 199)

Tritanopia (Blue-blind)

#8EC3C2 — rgb(142, 195, 194)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(204, 41%, 68%);

text

color: hsl(204, 41%, 68%);

border

border: 2px solid hsl(204, 41%, 68%);

gradient light

background: linear-gradient(to right, hsl(204, 41%, 88%), hsl(204, 41%, 68%));

gradient dark

background: linear-gradient(to right, hsl(204, 41%, 68%), hsl(204, 41%, 48%))

hex

background-color: #8CB4CF;

tailwind

bg-[hsl(204,41%,68%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(204, 41%, 68%, 0.4);

css variable

--color-primary: hsl(204, 41%, 68%);

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(204, 41%, 68%)?

HEX: #8CB4CF | RGB: rgb(140, 180, 207) | CMYK: 32%, 13%, 0%, 19% | HSV: 204°, 32%, 81%. Copy any format from the conversion table above.

What colors go well with #8CB4CF?

The complementary color is HSL(24, 41%, 68%). For a triadic harmony, use hues 204°, 324°, and 84°. For analogous combinations, try hues 174° and 234°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(204, 41%, 68%) in CSS?

As HSL: color: hsl(204, 41%, 68%); — As HEX: color: #8CB4CF; — As RGB: color: rgb(140, 180, 207); — Tailwind CSS: bg-[hsl(204,41%,68%)] — CSS variable: --color-primary: hsl(204, 41%, 68%);