HSL(263, 96%, 25%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(263,96%,25%)]

Color Conversions

Format Value CSS Usage
HSL hsl(263, 96%, 25%) color: hsl(263, 96%, 25%)
HEX #31037D color: #31037D
RGB rgb(49, 3, 125) color: rgb(49, 3, 125)
CMYK cmyk(61%, 98%, 0%, 51%)
HSV hsv(263, 98%, 49%)
HWB hwb(263 1% 51%) color: hwb(263 1% 51%)
OKLCH oklch(0.3026 0.1711 287.07) color: oklch(0.3026 0.1711 287.07)
Lab lab(16.5 47.27 -56.82) color: lab(16.5 47.27 -56.82)
LCH lch(16.5 73.91 309.76) color: lch(16.5 73.91 309.76)

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 14.59:1
vs Black 1.44: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)

#1D1D5F — rgb(29, 29, 95)

Deuteranopia (Green-blind)

#202358 — rgb(32, 35, 88)

Tritanopia (Blue-blind)

#2F4843 — rgb(47, 72, 67)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(263, 96%, 25%);

text

color: hsl(263, 96%, 25%);

border

border: 2px solid hsl(263, 96%, 25%);

gradient light

background: linear-gradient(to right, hsl(263, 96%, 45%), hsl(263, 96%, 25%));

gradient dark

background: linear-gradient(to right, hsl(263, 96%, 25%), hsl(263, 96%, 5%))

hex

background-color: #31037D;

tailwind

bg-[hsl(263,96%,25%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(263, 96%, 25%, 0.4);

css variable

--color-primary: hsl(263, 96%, 25%);

Related Colors

Use Cases for Indigo

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(263, 96%, 25%)?

HEX: #31037D | RGB: rgb(49, 3, 125) | CMYK: 61%, 98%, 0%, 51% | HSV: 263°, 98%, 49%. Copy any format from the conversion table above.

What colors go well with #31037D?

The complementary color is HSL(83, 96%, 25%). For a triadic harmony, use hues 263°, 23°, and 143°. For analogous combinations, try hues 233° and 293°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(263, 96%, 25%) in CSS?

As HSL: color: hsl(263, 96%, 25%); — As HEX: color: #31037D; — As RGB: color: rgb(49, 3, 125); — Tailwind CSS: bg-[hsl(263,96%,25%)] — CSS variable: --color-primary: hsl(263, 96%, 25%);