HSL(211, 70%, 23%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(211,70%,23%)]

Color Conversions

Format Value CSS Usage
HSL hsl(211, 70%, 23%) color: hsl(211, 70%, 23%)
HEX #123964 color: #123964
RGB rgb(18, 57, 100) color: rgb(18, 57, 100)
CMYK cmyk(82%, 43%, 0%, 61%)
HSV hsv(211, 82%, 39%)
HWB hwb(211 7% 61%) color: hwb(211 7% 61%)
OKLCH oklch(0.3419 0.0871 253.56) color: oklch(0.3419 0.0871 253.56)
Lab lab(23.59 3.46 -29.23) color: lab(23.59 3.46 -29.23)
LCH lch(23.59 29.43 276.75) color: lch(23.59 29.43 276.75)

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

#23235A — rgb(35, 35, 90)

Deuteranopia (Green-blind)

#211E57 — rgb(33, 30, 87)

Tritanopia (Blue-blind)

#145150 — rgb(20, 81, 80)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(211, 70%, 23%);

text

color: hsl(211, 70%, 23%);

border

border: 2px solid hsl(211, 70%, 23%);

gradient light

background: linear-gradient(to right, hsl(211, 70%, 43%), hsl(211, 70%, 23%));

gradient dark

background: linear-gradient(to right, hsl(211, 70%, 23%), hsl(211, 70%, 3%))

hex

background-color: #123964;

tailwind

bg-[hsl(211,70%,23%)]

box shadow

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

css variable

--color-primary: hsl(211, 70%, 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(211, 70%, 23%)?

HEX: #123964 | RGB: rgb(18, 57, 100) | CMYK: 82%, 43%, 0%, 61% | HSV: 211°, 82%, 39%. Copy any format from the conversion table above.

What colors go well with #123964?

The complementary color is HSL(31, 70%, 23%). For a triadic harmony, use hues 211°, 331°, and 91°. For analogous combinations, try hues 181° and 241°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(211, 70%, 23%) in CSS?

As HSL: color: hsl(211, 70%, 23%); — As HEX: color: #123964; — As RGB: color: rgb(18, 57, 100); — Tailwind CSS: bg-[hsl(211,70%,23%)] — CSS variable: --color-primary: hsl(211, 70%, 23%);