HSL(233, 83%, 30%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(233,83%,30%)]

Color Conversions

Format Value CSS Usage
HSL hsl(233, 83%, 30%) color: hsl(233, 83%, 30%)
HEX #0D1C8C color: #0D1C8C
RGB rgb(13, 28, 140) color: rgb(13, 28, 140)
CMYK cmyk(91%, 80%, 0%, 45%)
HSV hsv(233, 91%, 55%)
HWB hwb(233 5% 45%) color: hwb(233 5% 45%)
OKLCH oklch(0.3204 0.1794 266.59) color: oklch(0.3204 0.1794 266.59)
Lab lab(19.26 39.19 -61.78) color: lab(19.26 39.19 -61.78)
LCH lch(19.26 73.16 302.39) color: lch(19.26 73.16 302.39)

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

#131471 — rgb(19, 20, 113)

Deuteranopia (Green-blind)

#13126A — rgb(19, 18, 106)

Tritanopia (Blue-blind)

#0E5C57 — rgb(14, 92, 87)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(233, 83%, 30%);

text

color: hsl(233, 83%, 30%);

border

border: 2px solid hsl(233, 83%, 30%);

gradient light

background: linear-gradient(to right, hsl(233, 83%, 50%), hsl(233, 83%, 30%));

gradient dark

background: linear-gradient(to right, hsl(233, 83%, 30%), hsl(233, 83%, 10%))

hex

background-color: #0D1C8C;

tailwind

bg-[hsl(233,83%,30%)]

box shadow

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

css variable

--color-primary: hsl(233, 83%, 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(233, 83%, 30%)?

HEX: #0D1C8C | RGB: rgb(13, 28, 140) | CMYK: 91%, 80%, 0%, 45% | HSV: 233°, 91%, 55%. Copy any format from the conversion table above.

What colors go well with #0D1C8C?

The complementary color is HSL(53, 83%, 30%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(233, 83%, 30%) in CSS?

As HSL: color: hsl(233, 83%, 30%); — As HEX: color: #0D1C8C; — As RGB: color: rgb(13, 28, 140); — Tailwind CSS: bg-[hsl(233,83%,30%)] — CSS variable: --color-primary: hsl(233, 83%, 30%);