HSL(257, 100%, 35%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(257,100%,35%)]

Color Conversions

Format Value CSS Usage
HSL hsl(257, 100%, 35%) color: hsl(257, 100%, 35%)
HEX #3300B3 color: #3300B3
RGB rgb(51, 0, 179) color: rgb(51, 0, 179)
CMYK cmyk(72%, 100%, 0%, 30%)
HSV hsv(257, 100%, 70%)
HWB hwb(257 0% 30%) color: hwb(257 0% 30%)
OKLCH oklch(0.3699 0.2282 277.39) color: oklch(0.3699 0.2282 277.39)
Lab lab(23.53 61.64 -78.47) color: lab(23.53 61.64 -78.47)
LCH lch(23.53 99.78 308.15) color: lch(23.53 99.78 308.15)

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.72: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)

#1D1C88 — rgb(29, 28, 136)

Deuteranopia (Green-blind)

#20247D — rgb(32, 36, 125)

Tritanopia (Blue-blind)

#30655E — rgb(48, 101, 94)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(257, 100%, 35%);

text

color: hsl(257, 100%, 35%);

border

border: 2px solid hsl(257, 100%, 35%);

gradient light

background: linear-gradient(to right, hsl(257, 100%, 55%), hsl(257, 100%, 35%));

gradient dark

background: linear-gradient(to right, hsl(257, 100%, 35%), hsl(257, 100%, 15%))

hex

background-color: #3300B3;

tailwind

bg-[hsl(257,100%,35%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(257, 100%, 35%, 0.4);

css variable

--color-primary: hsl(257, 100%, 35%);

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(257, 100%, 35%)?

HEX: #3300B3 | RGB: rgb(51, 0, 179) | CMYK: 72%, 100%, 0%, 30% | HSV: 257°, 100%, 70%. Copy any format from the conversion table above.

What colors go well with #3300B3?

The complementary color is HSL(77, 100%, 35%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(257, 100%, 35%) in CSS?

As HSL: color: hsl(257, 100%, 35%); — As HEX: color: #3300B3; — As RGB: color: rgb(51, 0, 179); — Tailwind CSS: bg-[hsl(257,100%,35%)] — CSS variable: --color-primary: hsl(257, 100%, 35%);