HSL(204, 21%, 48%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(204,21%,48%)]

Color Conversions

Format Value CSS Usage
HSL hsl(204, 21%, 48%) color: hsl(204, 21%, 48%)
HEX #618094 color: #618094
RGB rgb(97, 128, 148) color: rgb(97, 128, 148)
CMYK cmyk(34%, 14%, 0%, 42%)
HSV hsv(204, 34%, 58%)
HWB hwb(204 38% 42%) color: hwb(204 38% 42%)
OKLCH oklch(0.5835 0.0469 236.92) color: oklch(0.5835 0.0469 236.92)
Lab lab(51.97 -5.88 -14.31) color: lab(51.97 -5.88 -14.31)
LCH lch(51.97 15.47 247.66) color: lch(51.97 15.47 247.66)

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 4.18:1
vs Black 5.02:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#6E6F8F — rgb(110, 111, 143)

Deuteranopia (Green-blind)

#6D6A8E — rgb(109, 106, 142)

Tritanopia (Blue-blind)

#638B8B — rgb(99, 139, 139)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(204, 21%, 48%);

text

color: hsl(204, 21%, 48%);

border

border: 2px solid hsl(204, 21%, 48%);

gradient light

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

gradient dark

background: linear-gradient(to right, hsl(204, 21%, 48%), hsl(204, 21%, 28%))

hex

background-color: #618094;

tailwind

bg-[hsl(204,21%,48%)]

box shadow

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

css variable

--color-primary: hsl(204, 21%, 48%);

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, 21%, 48%)?

HEX: #618094 | RGB: rgb(97, 128, 148) | CMYK: 34%, 14%, 0%, 42% | HSV: 204°, 34%, 58%. Copy any format from the conversion table above.

What colors go well with #618094?

The complementary color is HSL(24, 21%, 48%). 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, 21%, 48%) in CSS?

As HSL: color: hsl(204, 21%, 48%); — As HEX: color: #618094; — As RGB: color: rgb(97, 128, 148); — Tailwind CSS: bg-[hsl(204,21%,48%)] — CSS variable: --color-primary: hsl(204, 21%, 48%);