HSL(210, 40%, 63%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(210,40%,63%)]

Color Conversions

Format Value CSS Usage
HSL hsl(210, 40%, 63%) color: hsl(210, 40%, 63%)
HEX #7BA1C6 color: #7BA1C6
RGB rgb(123, 161, 198) color: rgb(123, 161, 198)
CMYK cmyk(38%, 19%, 0%, 22%)
HSV hsv(210, 38%, 78%)
HWB hwb(210 48% 22%) color: hwb(210 48% 22%)
OKLCH oklch(0.6947 0.0688 248.17) color: oklch(0.6947 0.0688 248.17)
Lab lab(64.78 -3.65 -23.12) color: lab(64.78 -3.65 -23.12)
LCH lch(64.78 23.41 261.03) color: lch(64.78 23.41 261.03)

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.71:1
vs Black 7.76: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)

#8B8CBD — rgb(139, 140, 189)

Deuteranopia (Green-blind)

#8986BB — rgb(137, 134, 187)

Tritanopia (Blue-blind)

#7DB6B4 — rgb(125, 182, 180)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(210, 40%, 63%);

text

color: hsl(210, 40%, 63%);

border

border: 2px solid hsl(210, 40%, 63%);

gradient light

background: linear-gradient(to right, hsl(210, 40%, 83%), hsl(210, 40%, 63%));

gradient dark

background: linear-gradient(to right, hsl(210, 40%, 63%), hsl(210, 40%, 43%))

hex

background-color: #7BA1C6;

tailwind

bg-[hsl(210,40%,63%)]

box shadow

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

css variable

--color-primary: hsl(210, 40%, 63%);

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(210, 40%, 63%)?

HEX: #7BA1C6 | RGB: rgb(123, 161, 198) | CMYK: 38%, 19%, 0%, 22% | HSV: 210°, 38%, 78%. Copy any format from the conversion table above.

What colors go well with #7BA1C6?

The complementary color is HSL(30, 40%, 63%). For a triadic harmony, use hues 210°, 330°, and 90°. For analogous combinations, try hues 180° and 240°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(210, 40%, 63%) in CSS?

As HSL: color: hsl(210, 40%, 63%); — As HEX: color: #7BA1C6; — As RGB: color: rgb(123, 161, 198); — Tailwind CSS: bg-[hsl(210,40%,63%)] — CSS variable: --color-primary: hsl(210, 40%, 63%);