HSL(229, 66%, 56%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(229,66%,56%)]

Color Conversions

Format Value CSS Usage
HSL hsl(229, 66%, 56%) color: hsl(229, 66%, 56%)
HEX #4560D9 color: #4560D9
RGB rgb(69, 96, 217) color: rgb(69, 96, 217)
CMYK cmyk(68%, 56%, 0%, 15%)
HSV hsv(229, 68%, 85%)
HWB hwb(229 27% 15%) color: hwb(229 27% 15%)
OKLCH oklch(0.5383 0.1874 269.55) color: oklch(0.5383 0.1874 269.55)
Lab lab(45.14 29.64 -65.08) color: lab(45.14 29.64 -65.08)
LCH lch(45.14 71.51 294.49) color: lch(45.14 71.51 294.49)

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 5.35:1
vs Black 3.93: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)

#5151BC — rgb(81, 81, 188)

Deuteranopia (Green-blind)

#4F4DB5 — rgb(79, 77, 181)

Tritanopia (Blue-blind)

#46A5A0 — rgb(70, 165, 160)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(229, 66%, 56%);

text

color: hsl(229, 66%, 56%);

border

border: 2px solid hsl(229, 66%, 56%);

gradient light

background: linear-gradient(to right, hsl(229, 66%, 76%), hsl(229, 66%, 56%));

gradient dark

background: linear-gradient(to right, hsl(229, 66%, 56%), hsl(229, 66%, 36%))

hex

background-color: #4560D9;

tailwind

bg-[hsl(229,66%,56%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(229, 66%, 56%, 0.4);

css variable

--color-primary: hsl(229, 66%, 56%);

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(229, 66%, 56%)?

HEX: #4560D9 | RGB: rgb(69, 96, 217) | CMYK: 68%, 56%, 0%, 15% | HSV: 229°, 68%, 85%. Copy any format from the conversion table above.

What colors go well with #4560D9?

The complementary color is HSL(49, 66%, 56%). For a triadic harmony, use hues 229°, 349°, and 109°. For analogous combinations, try hues 199° and 259°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(229, 66%, 56%) in CSS?

As HSL: color: hsl(229, 66%, 56%); — As HEX: color: #4560D9; — As RGB: color: rgb(69, 96, 217); — Tailwind CSS: bg-[hsl(229,66%,56%)] — CSS variable: --color-primary: hsl(229, 66%, 56%);