HSL(200, 43%, 40%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(200,43%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(200, 43%, 40%) color: hsl(200, 43%, 40%)
HEX #3A7592 color: #3A7592
RGB rgb(58, 117, 146) color: rgb(58, 117, 146)
CMYK cmyk(60%, 20%, 0%, 43%)
HSV hsv(200, 60%, 57%)
HWB hwb(200 23% 43%) color: hwb(200 23% 43%)
OKLCH oklch(0.5351 0.0764 231.98) color: oklch(0.5351 0.0764 231.98)
Lab lab(46.57 -10.18 -21.56) color: lab(46.57 -10.18 -21.56)
LCH lch(46.57 23.84 244.72) color: lch(46.57 23.84 244.72)

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.07:1
vs Black 4.14: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)

#54548B — rgb(84, 84, 139)

Deuteranopia (Green-blind)

#504C89 — rgb(80, 76, 137)

Tritanopia (Blue-blind)

#3D8584 — rgb(61, 133, 132)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(200, 43%, 40%);

text

color: hsl(200, 43%, 40%);

border

border: 2px solid hsl(200, 43%, 40%);

gradient light

background: linear-gradient(to right, hsl(200, 43%, 60%), hsl(200, 43%, 40%));

gradient dark

background: linear-gradient(to right, hsl(200, 43%, 40%), hsl(200, 43%, 20%))

hex

background-color: #3A7592;

tailwind

bg-[hsl(200,43%,40%)]

box shadow

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

css variable

--color-primary: hsl(200, 43%, 40%);

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(200, 43%, 40%)?

HEX: #3A7592 | RGB: rgb(58, 117, 146) | CMYK: 60%, 20%, 0%, 43% | HSV: 200°, 60%, 57%. Copy any format from the conversion table above.

What colors go well with #3A7592?

The complementary color is HSL(20, 43%, 40%). For a triadic harmony, use hues 200°, 320°, and 80°. For analogous combinations, try hues 170° and 230°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(200, 43%, 40%) in CSS?

As HSL: color: hsl(200, 43%, 40%); — As HEX: color: #3A7592; — As RGB: color: rgb(58, 117, 146); — Tailwind CSS: bg-[hsl(200,43%,40%)] — CSS variable: --color-primary: hsl(200, 43%, 40%);