HSL(213, 72%, 43%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(213,72%,43%)]

Color Conversions

Format Value CSS Usage
HSL hsl(213, 72%, 43%) color: hsl(213, 72%, 43%)
HEX #1F66BD color: #1F66BD
RGB rgb(31, 102, 189) color: rgb(31, 102, 189)
CMYK cmyk(84%, 46%, 0%, 26%)
HSV hsv(213, 84%, 74%)
HWB hwb(213 12% 26%) color: hwb(213 12% 26%)
OKLCH oklch(0.5156 0.1532 256.08) color: oklch(0.5156 0.1532 256.08)
Lab lab(43.46 10.87 -51.76) color: lab(43.46 10.87 -51.76)
LCH lch(43.46 52.89 281.86) color: lch(43.46 52.89 281.86)

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.69:1
vs Black 3.69: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)

#3E3EA8 — rgb(62, 62, 168)

Deuteranopia (Green-blind)

#3A34A3 — rgb(58, 52, 163)

Tritanopia (Blue-blind)

#239794 — rgb(35, 151, 148)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(213, 72%, 43%);

text

color: hsl(213, 72%, 43%);

border

border: 2px solid hsl(213, 72%, 43%);

gradient light

background: linear-gradient(to right, hsl(213, 72%, 63%), hsl(213, 72%, 43%));

gradient dark

background: linear-gradient(to right, hsl(213, 72%, 43%), hsl(213, 72%, 23%))

hex

background-color: #1F66BD;

tailwind

bg-[hsl(213,72%,43%)]

box shadow

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

css variable

--color-primary: hsl(213, 72%, 43%);

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(213, 72%, 43%)?

HEX: #1F66BD | RGB: rgb(31, 102, 189) | CMYK: 84%, 46%, 0%, 26% | HSV: 213°, 84%, 74%. Copy any format from the conversion table above.

What colors go well with #1F66BD?

The complementary color is HSL(33, 72%, 43%). For a triadic harmony, use hues 213°, 333°, and 93°. For analogous combinations, try hues 183° and 243°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(213, 72%, 43%) in CSS?

As HSL: color: hsl(213, 72%, 43%); — As HEX: color: #1F66BD; — As RGB: color: rgb(31, 102, 189); — Tailwind CSS: bg-[hsl(213,72%,43%)] — CSS variable: --color-primary: hsl(213, 72%, 43%);