HSL(226, 72%, 72%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(226,72%,72%)]

Color Conversions

Format Value CSS Usage
HSL hsl(226, 72%, 72%) color: hsl(226, 72%, 72%)
HEX #849CEB color: #849CEB
RGB rgb(132, 156, 235) color: rgb(132, 156, 235)
CMYK cmyk(44%, 34%, 0%, 8%)
HSV hsv(226, 44%, 92%)
HWB hwb(226 52% 8%) color: hwb(226 52% 8%)
OKLCH oklch(0.7067 0.1192 270.29) color: oklch(0.7067 0.1192 270.29)
Lab lab(65.5 11.8 -42.45) color: lab(65.5 11.8 -42.45)
LCH lch(65.5 44.06 285.53) color: lch(65.5 44.06 285.53)

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 2.65:1
vs Black 7.94:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#8E8FD8 — rgb(142, 143, 216)

Deuteranopia (Green-blind)

#8D8BD3 — rgb(141, 139, 211)

Tritanopia (Blue-blind)

#85C9C5 — rgb(133, 201, 197)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(226, 72%, 72%);

text

color: hsl(226, 72%, 72%);

border

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

gradient light

background: linear-gradient(to right, hsl(226, 72%, 92%), hsl(226, 72%, 72%));

gradient dark

background: linear-gradient(to right, hsl(226, 72%, 72%), hsl(226, 72%, 52%))

hex

background-color: #849CEB;

tailwind

bg-[hsl(226,72%,72%)]

box shadow

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

css variable

--color-primary: hsl(226, 72%, 72%);

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

HEX: #849CEB | RGB: rgb(132, 156, 235) | CMYK: 44%, 34%, 0%, 8% | HSV: 226°, 44%, 92%. Copy any format from the conversion table above.

What colors go well with #849CEB?

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

As HSL: color: hsl(226, 72%, 72%); — As HEX: color: #849CEB; — As RGB: color: rgb(132, 156, 235); — Tailwind CSS: bg-[hsl(226,72%,72%)] — CSS variable: --color-primary: hsl(226, 72%, 72%);