HSL(233, 63%, 23%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(233,63%,23%)]

Color Conversions

Format Value CSS Usage
HSL hsl(233, 63%, 23%) color: hsl(233, 63%, 23%)
HEX #161E60 color: #161E60
RGB rgb(22, 30, 96) color: rgb(22, 30, 96)
CMYK cmyk(77%, 69%, 0%, 62%)
HSV hsv(234, 77%, 38%)
HWB hwb(234 9% 62%) color: hwb(234 9% 62%)
OKLCH oklch(0.2776 0.1161 271.14) color: oklch(0.2776 0.1161 271.14)
Lab lab(15.19 21.92 -40.18) color: lab(15.19 21.92 -40.18)
LCH lch(15.19 45.77 298.61) color: lch(15.19 45.77 298.61)

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 15.12:1
vs Black 1.39: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)

#191A50 — rgb(25, 26, 80)

Deuteranopia (Green-blind)

#19184C — rgb(25, 24, 76)

Tritanopia (Blue-blind)

#164341 — rgb(22, 67, 65)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(233, 63%, 23%);

text

color: hsl(233, 63%, 23%);

border

border: 2px solid hsl(233, 63%, 23%);

gradient light

background: linear-gradient(to right, hsl(233, 63%, 43%), hsl(233, 63%, 23%));

gradient dark

background: linear-gradient(to right, hsl(233, 63%, 23%), hsl(233, 63%, 3%))

hex

background-color: #161E60;

tailwind

bg-[hsl(233,63%,23%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(233, 63%, 23%, 0.4);

css variable

--color-primary: hsl(233, 63%, 23%);

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(233, 63%, 23%)?

HEX: #161E60 | RGB: rgb(22, 30, 96) | CMYK: 77%, 69%, 0%, 62% | HSV: 234°, 77%, 38%. Copy any format from the conversion table above.

What colors go well with #161E60?

The complementary color is HSL(53, 63%, 23%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(233, 63%, 23%) in CSS?

As HSL: color: hsl(233, 63%, 23%); — As HEX: color: #161E60; — As RGB: color: rgb(22, 30, 96); — Tailwind CSS: bg-[hsl(233,63%,23%)] — CSS variable: --color-primary: hsl(233, 63%, 23%);