HSL(213, 75%, 53%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(213,75%,53%)]

Color Conversions

Format Value CSS Usage
HSL hsl(213, 75%, 53%) color: hsl(213, 75%, 53%)
HEX #2D7EE1 color: #2D7EE1
RGB rgb(45, 126, 225) color: rgb(45, 126, 225)
CMYK cmyk(80%, 44%, 0%, 12%)
HSV hsv(213, 80%, 88%)
HWB hwb(213 18% 12%) color: hwb(213 18% 12%)
OKLCH oklch(0.5964 0.1693 255.75) color: oklch(0.5964 0.1693 255.75)
Lab lab(52.85 10.81 -57.2) color: lab(52.85 10.81 -57.2)
LCH lch(52.85 58.21 280.7) color: lch(52.85 58.21 280.7)

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 4.05:1
vs Black 5.18:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#5051C9 — rgb(80, 81, 201)

Deuteranopia (Green-blind)

#4B45C3 — rgb(75, 69, 195)

Tritanopia (Blue-blind)

#31B6B2 — rgb(49, 182, 178)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(213, 75%, 53%);

text

color: hsl(213, 75%, 53%);

border

border: 2px solid hsl(213, 75%, 53%);

gradient light

background: linear-gradient(to right, hsl(213, 75%, 73%), hsl(213, 75%, 53%));

gradient dark

background: linear-gradient(to right, hsl(213, 75%, 53%), hsl(213, 75%, 33%))

hex

background-color: #2D7EE1;

tailwind

bg-[hsl(213,75%,53%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(213, 75%, 53%, 0.4);

css variable

--color-primary: hsl(213, 75%, 53%);

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(213, 75%, 53%)?

HEX: #2D7EE1 | RGB: rgb(45, 126, 225) | CMYK: 80%, 44%, 0%, 12% | HSV: 213°, 80%, 88%. Copy any format from the conversion table above.

What colors go well with #2D7EE1?

The complementary color is HSL(33, 75%, 53%). For a triadic harmony, use hues 213°, 333°, and 93°. For analogous combinations, try hues 183° and 243°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(213, 75%, 53%) in CSS?

As HSL: color: hsl(213, 75%, 53%); — As HEX: color: #2D7EE1; — As RGB: color: rgb(45, 126, 225); — Tailwind CSS: bg-[hsl(213,75%,53%)] — CSS variable: --color-primary: hsl(213, 75%, 53%);