HSL(227, 86%, 74%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(227,86%,74%)]

Color Conversions

Format Value CSS Usage
HSL hsl(227, 86%, 74%) color: hsl(227, 86%, 74%)
HEX #849CF6 color: #849CF6
RGB rgb(132, 156, 246) color: rgb(132, 156, 246)
CMYK cmyk(46%, 37%, 0%, 4%)
HSV hsv(227, 46%, 96%)
HWB hwb(227 52% 4%) color: hwb(227 52% 4%)
OKLCH oklch(0.7123 0.1344 271.34) color: oklch(0.7123 0.1344 271.34)
Lab lab(66.01 14.97 -47.68) color: lab(66.01 14.97 -47.68)
LCH lch(66.01 49.97 287.43) color: lch(66.01 49.97 287.43)

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.6:1
vs Black 8.07: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)

#8E8FE0 — rgb(142, 143, 224)

Deuteranopia (Green-blind)

#8D8BDB — rgb(141, 139, 219)

Tritanopia (Blue-blind)

#85CFCB — rgb(133, 207, 203)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(227, 86%, 74%);

text

color: hsl(227, 86%, 74%);

border

border: 2px solid hsl(227, 86%, 74%);

gradient light

background: linear-gradient(to right, hsl(227, 86%, 94%), hsl(227, 86%, 74%));

gradient dark

background: linear-gradient(to right, hsl(227, 86%, 74%), hsl(227, 86%, 54%))

hex

background-color: #849CF6;

tailwind

bg-[hsl(227,86%,74%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(227, 86%, 74%, 0.4);

css variable

--color-primary: hsl(227, 86%, 74%);

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(227, 86%, 74%)?

HEX: #849CF6 | RGB: rgb(132, 156, 246) | CMYK: 46%, 37%, 0%, 4% | HSV: 227°, 46%, 96%. Copy any format from the conversion table above.

What colors go well with #849CF6?

The complementary color is HSL(47, 86%, 74%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(227, 86%, 74%) in CSS?

As HSL: color: hsl(227, 86%, 74%); — As HEX: color: #849CF6; — As RGB: color: rgb(132, 156, 246); — Tailwind CSS: bg-[hsl(227,86%,74%)] — CSS variable: --color-primary: hsl(227, 86%, 74%);