HSL(197, 40%, 56%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(197,40%,56%)]

Color Conversions

Format Value CSS Usage
HSL hsl(197, 40%, 56%) color: hsl(197, 40%, 56%)
HEX #62A2BC color: #62A2BC
RGB rgb(98, 162, 188) color: rgb(98, 162, 188)
CMYK cmyk(48%, 14%, 0%, 26%)
HSV hsv(197, 48%, 74%)
HWB hwb(197 38% 26%) color: hwb(197 38% 26%)
OKLCH oklch(0.6791 0.076 226.02) color: oklch(0.6791 0.076 226.02)
Lab lab(63.4 -13.42 -19.77) color: lab(63.4 -13.42 -19.77)
LCH lch(63.4 23.89 235.83) color: lch(63.4 23.89 235.83)

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.83:1
vs Black 7.41: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)

#7E7EB6 — rgb(126, 126, 182)

Deuteranopia (Green-blind)

#7A75B4 — rgb(122, 117, 180)

Tritanopia (Blue-blind)

#65B1B0 — rgb(101, 177, 176)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(197, 40%, 56%);

text

color: hsl(197, 40%, 56%);

border

border: 2px solid hsl(197, 40%, 56%);

gradient light

background: linear-gradient(to right, hsl(197, 40%, 76%), hsl(197, 40%, 56%));

gradient dark

background: linear-gradient(to right, hsl(197, 40%, 56%), hsl(197, 40%, 36%))

hex

background-color: #62A2BC;

tailwind

bg-[hsl(197,40%,56%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(197, 40%, 56%, 0.4);

css variable

--color-primary: hsl(197, 40%, 56%);

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(197, 40%, 56%)?

HEX: #62A2BC | RGB: rgb(98, 162, 188) | CMYK: 48%, 14%, 0%, 26% | HSV: 197°, 48%, 74%. Copy any format from the conversion table above.

What colors go well with #62A2BC?

The complementary color is HSL(17, 40%, 56%). For a triadic harmony, use hues 197°, 317°, and 77°. For analogous combinations, try hues 167° and 227°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(197, 40%, 56%) in CSS?

As HSL: color: hsl(197, 40%, 56%); — As HEX: color: #62A2BC; — As RGB: color: rgb(98, 162, 188); — Tailwind CSS: bg-[hsl(197,40%,56%)] — CSS variable: --color-primary: hsl(197, 40%, 56%);