HSL(207, 57%, 41%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(207,57%,41%)]

Color Conversions

Format Value CSS Usage
HSL hsl(207, 57%, 41%) color: hsl(207, 57%, 41%)
HEX #2D6FA4 color: #2D6FA4
RGB rgb(45, 111, 164) color: rgb(45, 111, 164)
CMYK cmyk(73%, 32%, 0%, 36%)
HSV hsv(207, 73%, 64%)
HWB hwb(207 17% 36%) color: hwb(207 17% 36%)
OKLCH oklch(0.5248 0.1069 246.16) color: oklch(0.5248 0.1069 246.16)
Lab lab(45.09 -2.67 -34.52) color: lab(45.09 -2.67 -34.52)
LCH lch(45.09 34.62 265.58) color: lch(45.09 34.62 265.58)

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 5.36:1
vs Black 3.92:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#4A4A97 — rgb(74, 74, 151)

Deuteranopia (Green-blind)

#464194 — rgb(70, 65, 148)

Tritanopia (Blue-blind)

#308D8B — rgb(48, 141, 139)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(207, 57%, 41%);

text

color: hsl(207, 57%, 41%);

border

border: 2px solid hsl(207, 57%, 41%);

gradient light

background: linear-gradient(to right, hsl(207, 57%, 61%), hsl(207, 57%, 41%));

gradient dark

background: linear-gradient(to right, hsl(207, 57%, 41%), hsl(207, 57%, 21%))

hex

background-color: #2D6FA4;

tailwind

bg-[hsl(207,57%,41%)]

box shadow

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

css variable

--color-primary: hsl(207, 57%, 41%);

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, 57%, 41%)?

HEX: #2D6FA4 | RGB: rgb(45, 111, 164) | CMYK: 73%, 32%, 0%, 36% | HSV: 207°, 73%, 64%. Copy any format from the conversion table above.

What colors go well with #2D6FA4?

The complementary color is HSL(27, 57%, 41%). 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, 57%, 41%) in CSS?

As HSL: color: hsl(207, 57%, 41%); — As HEX: color: #2D6FA4; — As RGB: color: rgb(45, 111, 164); — Tailwind CSS: bg-[hsl(207,57%,41%)] — CSS variable: --color-primary: hsl(207, 57%, 41%);