HSL(226, 80%, 61%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(226,80%,61%)]

Color Conversions

Format Value CSS Usage
HSL hsl(226, 80%, 61%) color: hsl(226, 80%, 61%)
HEX #4C71EB color: #4C71EB
RGB rgb(76, 113, 235) color: rgb(76, 113, 235)
CMYK cmyk(68%, 52%, 0%, 8%)
HSV hsv(226, 68%, 92%)
HWB hwb(226 29% 8%) color: hwb(226 29% 8%)
OKLCH oklch(0.588 0.1887 267.56) color: oklch(0.588 0.1887 267.56)
Lab lab(51.09 26.32 -65.6) color: lab(51.09 26.32 -65.6)
LCH lch(51.09 70.68 291.86) color: lch(51.09 70.68 291.86)

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.31:1
vs Black 4.87: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)

#5C5CCD — rgb(92, 92, 205)

Deuteranopia (Green-blind)

#5A57C6 — rgb(90, 87, 198)

Tritanopia (Blue-blind)

#4EB6B1 — rgb(78, 182, 177)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(226, 80%, 61%);

text

color: hsl(226, 80%, 61%);

border

border: 2px solid hsl(226, 80%, 61%);

gradient light

background: linear-gradient(to right, hsl(226, 80%, 81%), hsl(226, 80%, 61%));

gradient dark

background: linear-gradient(to right, hsl(226, 80%, 61%), hsl(226, 80%, 41%))

hex

background-color: #4C71EB;

tailwind

bg-[hsl(226,80%,61%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(226, 80%, 61%, 0.4);

css variable

--color-primary: hsl(226, 80%, 61%);

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(226, 80%, 61%)?

HEX: #4C71EB | RGB: rgb(76, 113, 235) | CMYK: 68%, 52%, 0%, 8% | HSV: 226°, 68%, 92%. Copy any format from the conversion table above.

What colors go well with #4C71EB?

The complementary color is HSL(46, 80%, 61%). For a triadic harmony, use hues 226°, 346°, and 106°. For analogous combinations, try hues 196° and 256°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(226, 80%, 61%) in CSS?

As HSL: color: hsl(226, 80%, 61%); — As HEX: color: #4C71EB; — As RGB: color: rgb(76, 113, 235); — Tailwind CSS: bg-[hsl(226,80%,61%)] — CSS variable: --color-primary: hsl(226, 80%, 61%);