HSL(239, 90%, 30%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(239,90%,30%)]

Color Conversions

Format Value CSS Usage
HSL hsl(239, 90%, 30%) color: hsl(239, 90%, 30%)
HEX #080A91 color: #080A91
RGB rgb(8, 10, 145) color: rgb(8, 10, 145)
CMYK cmyk(94%, 93%, 0%, 43%)
HSV hsv(239, 94%, 57%)
HWB hwb(239 3% 43%) color: hwb(239 3% 43%)
OKLCH oklch(0.3066 0.1989 265.91) color: oklch(0.3066 0.1989 265.91)
Lab lab(17.05 48.79 -68.59) color: lab(17.05 48.79 -68.59)
LCH lch(17.05 84.17 305.43) color: lch(17.05 84.17 305.43)

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

#090970 — rgb(9, 9, 112)

Deuteranopia (Green-blind)

#090969 — rgb(9, 9, 105)

Tritanopia (Blue-blind)

#085751 — rgb(8, 87, 81)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(239, 90%, 30%);

text

color: hsl(239, 90%, 30%);

border

border: 2px solid hsl(239, 90%, 30%);

gradient light

background: linear-gradient(to right, hsl(239, 90%, 50%), hsl(239, 90%, 30%));

gradient dark

background: linear-gradient(to right, hsl(239, 90%, 30%), hsl(239, 90%, 10%))

hex

background-color: #080A91;

tailwind

bg-[hsl(239,90%,30%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(239, 90%, 30%, 0.4);

css variable

--color-primary: hsl(239, 90%, 30%);

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(239, 90%, 30%)?

HEX: #080A91 | RGB: rgb(8, 10, 145) | CMYK: 94%, 93%, 0%, 43% | HSV: 239°, 94%, 57%. Copy any format from the conversion table above.

What colors go well with #080A91?

The complementary color is HSL(59, 90%, 30%). For a triadic harmony, use hues 239°, 359°, and 119°. For analogous combinations, try hues 209° and 269°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(239, 90%, 30%) in CSS?

As HSL: color: hsl(239, 90%, 30%); — As HEX: color: #080A91; — As RGB: color: rgb(8, 10, 145); — Tailwind CSS: bg-[hsl(239,90%,30%)] — CSS variable: --color-primary: hsl(239, 90%, 30%);