HSL(219, 84%, 34%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(219,84%,34%)]

Color Conversions

Format Value CSS Usage
HSL hsl(219, 84%, 34%) color: hsl(219, 84%, 34%)
HEX #0E41A0 color: #0E41A0
RGB rgb(14, 65, 160) color: rgb(14, 65, 160)
CMYK cmyk(91%, 59%, 0%, 37%)
HSV hsv(219, 91%, 63%)
HWB hwb(219 6% 37%) color: hwb(219 6% 37%)
OKLCH oklch(0.4083 0.163 261.59) color: oklch(0.4083 0.163 261.59)
Lab lab(30.43 22.73 -55.7) color: lab(30.43 22.73 -55.7)
LCH lch(30.43 60.16 292.2) color: lch(30.43 60.16 292.2)

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.2:1
vs Black 2.28: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)

#242589 — rgb(36, 37, 137)

Deuteranopia (Green-blind)

#211D84 — rgb(33, 29, 132)

Tritanopia (Blue-blind)

#117773 — rgb(17, 119, 115)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(219, 84%, 34%);

text

color: hsl(219, 84%, 34%);

border

border: 2px solid hsl(219, 84%, 34%);

gradient light

background: linear-gradient(to right, hsl(219, 84%, 54%), hsl(219, 84%, 34%));

gradient dark

background: linear-gradient(to right, hsl(219, 84%, 34%), hsl(219, 84%, 14%))

hex

background-color: #0E41A0;

tailwind

bg-[hsl(219,84%,34%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(219, 84%, 34%, 0.4);

css variable

--color-primary: hsl(219, 84%, 34%);

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(219, 84%, 34%)?

HEX: #0E41A0 | RGB: rgb(14, 65, 160) | CMYK: 91%, 59%, 0%, 37% | HSV: 219°, 91%, 63%. Copy any format from the conversion table above.

What colors go well with #0E41A0?

The complementary color is HSL(39, 84%, 34%). For a triadic harmony, use hues 219°, 339°, and 99°. For analogous combinations, try hues 189° and 249°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(219, 84%, 34%) in CSS?

As HSL: color: hsl(219, 84%, 34%); — As HEX: color: #0E41A0; — As RGB: color: rgb(14, 65, 160); — Tailwind CSS: bg-[hsl(219,84%,34%)] — CSS variable: --color-primary: hsl(219, 84%, 34%);