HSL(237, 78%, 39%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(237,78%,39%)]

Color Conversions

Format Value CSS Usage
HSL hsl(237, 78%, 39%) color: hsl(237, 78%, 39%)
HEX #161EB1 color: #161EB1
RGB rgb(22, 30, 177) color: rgb(22, 30, 177)
CMYK cmyk(88%, 83%, 0%, 31%)
HSV hsv(237, 88%, 69%)
HWB hwb(237 8% 31%) color: hwb(237 8% 31%)
OKLCH oklch(0.3715 0.2192 267.45) color: oklch(0.3715 0.2192 267.45)
Lab lab(24.55 50.79 -75.61) color: lab(24.55 50.79 -75.61)
LCH lch(24.55 91.09 303.89) color: lch(24.55 91.09 303.89)

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 11.32:1
vs Black 1.85: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)

#191A8D — rgb(25, 26, 141)

Deuteranopia (Green-blind)

#191885 — rgb(25, 24, 133)

Tritanopia (Blue-blind)

#16716B — rgb(22, 113, 107)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(237, 78%, 39%);

text

color: hsl(237, 78%, 39%);

border

border: 2px solid hsl(237, 78%, 39%);

gradient light

background: linear-gradient(to right, hsl(237, 78%, 59%), hsl(237, 78%, 39%));

gradient dark

background: linear-gradient(to right, hsl(237, 78%, 39%), hsl(237, 78%, 19%))

hex

background-color: #161EB1;

tailwind

bg-[hsl(237,78%,39%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(237, 78%, 39%, 0.4);

css variable

--color-primary: hsl(237, 78%, 39%);

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(237, 78%, 39%)?

HEX: #161EB1 | RGB: rgb(22, 30, 177) | CMYK: 88%, 83%, 0%, 31% | HSV: 237°, 88%, 69%. Copy any format from the conversion table above.

What colors go well with #161EB1?

The complementary color is HSL(57, 78%, 39%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(237, 78%, 39%) in CSS?

As HSL: color: hsl(237, 78%, 39%); — As HEX: color: #161EB1; — As RGB: color: rgb(22, 30, 177); — Tailwind CSS: bg-[hsl(237,78%,39%)] — CSS variable: --color-primary: hsl(237, 78%, 39%);