HSL(243, 80%, 47%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(243,80%,47%)]

Color Conversions

Format Value CSS Usage
HSL hsl(243, 80%, 47%) color: hsl(243, 80%, 47%)
HEX #2218D8 color: #2218D8
RGB rgb(34, 24, 216) color: rgb(34, 24, 216)
CMYK cmyk(84%, 89%, 0%, 15%)
HSV hsv(243, 89%, 85%)
HWB hwb(243 9% 15%) color: hwb(243 9% 15%)
OKLCH oklch(0.4194 0.2623 268.66) color: oklch(0.4194 0.2623 268.66)
Lab lab(29.28 64.89 -90.67) color: lab(29.28 64.89 -90.67)
LCH lch(29.28 111.5 305.59) color: lch(29.28 111.5 305.59)

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 9.59:1
vs Black 2.19:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#1E1EAA — rgb(30, 30, 170)

Deuteranopia (Green-blind)

#1E1F9E — rgb(30, 31, 158)

Tritanopia (Blue-blind)

#22857D — rgb(34, 133, 125)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(243, 80%, 47%);

text

color: hsl(243, 80%, 47%);

border

border: 2px solid hsl(243, 80%, 47%);

gradient light

background: linear-gradient(to right, hsl(243, 80%, 67%), hsl(243, 80%, 47%));

gradient dark

background: linear-gradient(to right, hsl(243, 80%, 47%), hsl(243, 80%, 27%))

hex

background-color: #2218D8;

tailwind

bg-[hsl(243,80%,47%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(243, 80%, 47%, 0.4);

css variable

--color-primary: hsl(243, 80%, 47%);

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(243, 80%, 47%)?

HEX: #2218D8 | RGB: rgb(34, 24, 216) | CMYK: 84%, 89%, 0%, 15% | HSV: 243°, 89%, 85%. Copy any format from the conversion table above.

What colors go well with #2218D8?

The complementary color is HSL(63, 80%, 47%). For a triadic harmony, use hues 243°, 3°, and 123°. For analogous combinations, try hues 213° and 273°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(243, 80%, 47%) in CSS?

As HSL: color: hsl(243, 80%, 47%); — As HEX: color: #2218D8; — As RGB: color: rgb(34, 24, 216); — Tailwind CSS: bg-[hsl(243,80%,47%)] — CSS variable: --color-primary: hsl(243, 80%, 47%);