HSL(216, 83%, 37%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(216,83%,37%)]

Color Conversions

Format Value CSS Usage
HSL hsl(216, 83%, 37%) color: hsl(216, 83%, 37%)
HEX #104FAD color: #104FAD
RGB rgb(16, 79, 173) color: rgb(16, 79, 173)
CMYK cmyk(91%, 54%, 0%, 32%)
HSV hsv(216, 91%, 68%)
HWB hwb(216 6% 32%) color: hwb(216 6% 32%)
OKLCH oklch(0.4496 0.1626 259.43) color: oklch(0.4496 0.1626 259.43)
Lab lab(35.44 18.59 -55.33) color: lab(35.44 18.59 -55.33)
LCH lch(35.44 58.37 288.57) color: lch(35.44 58.37 288.57)

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 7.65:1
vs Black 2.74: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)

#2B2C96 — rgb(43, 44, 150)

Deuteranopia (Green-blind)

#282391 — rgb(40, 35, 145)

Tritanopia (Blue-blind)

#138480 — rgb(19, 132, 128)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(216, 83%, 37%);

text

color: hsl(216, 83%, 37%);

border

border: 2px solid hsl(216, 83%, 37%);

gradient light

background: linear-gradient(to right, hsl(216, 83%, 57%), hsl(216, 83%, 37%));

gradient dark

background: linear-gradient(to right, hsl(216, 83%, 37%), hsl(216, 83%, 17%))

hex

background-color: #104FAD;

tailwind

bg-[hsl(216,83%,37%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(216, 83%, 37%, 0.4);

css variable

--color-primary: hsl(216, 83%, 37%);

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(216, 83%, 37%)?

HEX: #104FAD | RGB: rgb(16, 79, 173) | CMYK: 91%, 54%, 0%, 32% | HSV: 216°, 91%, 68%. Copy any format from the conversion table above.

What colors go well with #104FAD?

The complementary color is HSL(36, 83%, 37%). For a triadic harmony, use hues 216°, 336°, and 96°. For analogous combinations, try hues 186° and 246°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(216, 83%, 37%) in CSS?

As HSL: color: hsl(216, 83%, 37%); — As HEX: color: #104FAD; — As RGB: color: rgb(16, 79, 173); — Tailwind CSS: bg-[hsl(216,83%,37%)] — CSS variable: --color-primary: hsl(216, 83%, 37%);