HSL(229, 95%, 64%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(229,95%,64%)]

Color Conversions

Format Value CSS Usage
HSL hsl(229, 95%, 64%) color: hsl(229, 95%, 64%)
HEX #4C6CFA color: #4C6CFA
RGB rgb(76, 108, 250) color: rgb(76, 108, 250)
CMYK cmyk(70%, 57%, 0%, 2%)
HSV hsv(229, 70%, 98%)
HWB hwb(229 29% 2%) color: hwb(229 29% 2%)
OKLCH oklch(0.5897 0.2142 269.13) color: oklch(0.5897 0.2142 269.13)
Lab lab(50.88 34.61 -74.3) color: lab(50.88 34.61 -74.3)
LCH lch(50.88 81.97 294.98) color: lch(50.88 81.97 294.98)

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.35:1
vs Black 4.83: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)

#5A5AD8 — rgb(90, 90, 216)

Deuteranopia (Green-blind)

#5856CF — rgb(88, 86, 207)

Tritanopia (Blue-blind)

#4EBDB7 — rgb(78, 189, 183)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(229, 95%, 64%);

text

color: hsl(229, 95%, 64%);

border

border: 2px solid hsl(229, 95%, 64%);

gradient light

background: linear-gradient(to right, hsl(229, 95%, 84%), hsl(229, 95%, 64%));

gradient dark

background: linear-gradient(to right, hsl(229, 95%, 64%), hsl(229, 95%, 44%))

hex

background-color: #4C6CFA;

tailwind

bg-[hsl(229,95%,64%)]

box shadow

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

css variable

--color-primary: hsl(229, 95%, 64%);

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, 95%, 64%)?

HEX: #4C6CFA | RGB: rgb(76, 108, 250) | CMYK: 70%, 57%, 0%, 2% | HSV: 229°, 70%, 98%. Copy any format from the conversion table above.

What colors go well with #4C6CFA?

The complementary color is HSL(49, 95%, 64%). 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, 95%, 64%) in CSS?

As HSL: color: hsl(229, 95%, 64%); — As HEX: color: #4C6CFA; — As RGB: color: rgb(76, 108, 250); — Tailwind CSS: bg-[hsl(229,95%,64%)] — CSS variable: --color-primary: hsl(229, 95%, 64%);