HSL(230, 61%, 26%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(230,61%,26%)]

Color Conversions

Format Value CSS Usage
HSL hsl(230, 61%, 26%) color: hsl(230, 61%, 26%)
HEX #1A276B color: #1A276B
RGB rgb(26, 39, 107) color: rgb(26, 39, 107)
CMYK cmyk(76%, 64%, 0%, 58%)
HSV hsv(230, 76%, 42%)
HWB hwb(230 10% 58%) color: hwb(230 10% 58%)
OKLCH oklch(0.3091 0.1191 269.7) color: oklch(0.3091 0.1191 269.7)
Lab lab(18.94 20.45 -41.27) color: lab(18.94 20.45 -41.27)
LCH lch(18.94 46.06 296.36) color: lch(18.94 46.06 296.36)

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 13.58:1
vs Black 1.55: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)

#20205B — rgb(32, 32, 91)

Deuteranopia (Green-blind)

#1F1E57 — rgb(31, 30, 87)

Tritanopia (Blue-blind)

#1B4E4B — rgb(27, 78, 75)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(230, 61%, 26%);

text

color: hsl(230, 61%, 26%);

border

border: 2px solid hsl(230, 61%, 26%);

gradient light

background: linear-gradient(to right, hsl(230, 61%, 46%), hsl(230, 61%, 26%));

gradient dark

background: linear-gradient(to right, hsl(230, 61%, 26%), hsl(230, 61%, 6%))

hex

background-color: #1A276B;

tailwind

bg-[hsl(230,61%,26%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(230, 61%, 26%, 0.4);

css variable

--color-primary: hsl(230, 61%, 26%);

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(230, 61%, 26%)?

HEX: #1A276B | RGB: rgb(26, 39, 107) | CMYK: 76%, 64%, 0%, 58% | HSV: 230°, 76%, 42%. Copy any format from the conversion table above.

What colors go well with #1A276B?

The complementary color is HSL(50, 61%, 26%). For a triadic harmony, use hues 230°, 350°, and 110°. For analogous combinations, try hues 200° and 260°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(230, 61%, 26%) in CSS?

As HSL: color: hsl(230, 61%, 26%); — As HEX: color: #1A276B; — As RGB: color: rgb(26, 39, 107); — Tailwind CSS: bg-[hsl(230,61%,26%)] — CSS variable: --color-primary: hsl(230, 61%, 26%);