HSL(203, 48%, 34%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(203,48%,34%)]

Color Conversions

Format Value CSS Usage
HSL hsl(203, 48%, 34%) color: hsl(203, 48%, 34%)
HEX #2D6080 color: #2D6080
RGB rgb(45, 96, 128) color: rgb(45, 96, 128)
CMYK cmyk(65%, 25%, 0%, 50%)
HSV hsv(203, 65%, 50%)
HWB hwb(203 18% 50%) color: hwb(203 18% 50%)
OKLCH oklch(0.4685 0.0754 238.78) color: oklch(0.4685 0.0754 238.78)
Lab lab(38.69 -6.51 -22.99) color: lab(38.69 -6.51 -22.99)
LCH lch(38.69 23.89 254.19) color: lch(38.69 23.89 254.19)

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 6.78:1
vs Black 3.1:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#434478 — rgb(67, 68, 120)

Deuteranopia (Green-blind)

#403C76 — rgb(64, 60, 118)

Tritanopia (Blue-blind)

#307271 — rgb(48, 114, 113)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(203, 48%, 34%);

text

color: hsl(203, 48%, 34%);

border

border: 2px solid hsl(203, 48%, 34%);

gradient light

background: linear-gradient(to right, hsl(203, 48%, 54%), hsl(203, 48%, 34%));

gradient dark

background: linear-gradient(to right, hsl(203, 48%, 34%), hsl(203, 48%, 14%))

hex

background-color: #2D6080;

tailwind

bg-[hsl(203,48%,34%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(203, 48%, 34%, 0.4);

css variable

--color-primary: hsl(203, 48%, 34%);

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(203, 48%, 34%)?

HEX: #2D6080 | RGB: rgb(45, 96, 128) | CMYK: 65%, 25%, 0%, 50% | HSV: 203°, 65%, 50%. Copy any format from the conversion table above.

What colors go well with #2D6080?

The complementary color is HSL(23, 48%, 34%). For a triadic harmony, use hues 203°, 323°, and 83°. For analogous combinations, try hues 173° and 233°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(203, 48%, 34%) in CSS?

As HSL: color: hsl(203, 48%, 34%); — As HEX: color: #2D6080; — As RGB: color: rgb(45, 96, 128); — Tailwind CSS: bg-[hsl(203,48%,34%)] — CSS variable: --color-primary: hsl(203, 48%, 34%);