HSL(227, 95%, 71%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(227,95%,71%)]

Color Conversions

Format Value CSS Usage
HSL hsl(227, 95%, 71%) color: hsl(227, 95%, 71%)
HEX #6F8DFB color: #6F8DFB
RGB rgb(111, 141, 251) color: rgb(111, 141, 251)
CMYK cmyk(56%, 44%, 0%, 2%)
HSV hsv(227, 56%, 98%)
HWB hwb(227 43% 2%) color: hwb(227 43% 2%)
OKLCH oklch(0.6724 0.1658 270) color: oklch(0.6724 0.1658 270)
Lab lab(61.13 20.7 -58.24) color: lab(61.13 20.7 -58.24)
LCH lch(61.13 61.81 289.57) color: lch(61.13 61.81 289.57)

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 3.05:1
vs Black 6.88: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)

#7C7CE0 — rgb(124, 124, 224)

Deuteranopia (Green-blind)

#7A78DA — rgb(122, 120, 218)

Tritanopia (Blue-blind)

#71CBC7 — rgb(113, 203, 199)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(227, 95%, 71%);

text

color: hsl(227, 95%, 71%);

border

border: 2px solid hsl(227, 95%, 71%);

gradient light

background: linear-gradient(to right, hsl(227, 95%, 91%), hsl(227, 95%, 71%));

gradient dark

background: linear-gradient(to right, hsl(227, 95%, 71%), hsl(227, 95%, 51%))

hex

background-color: #6F8DFB;

tailwind

bg-[hsl(227,95%,71%)]

box shadow

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

css variable

--color-primary: hsl(227, 95%, 71%);

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

HEX: #6F8DFB | RGB: rgb(111, 141, 251) | CMYK: 56%, 44%, 0%, 2% | HSV: 227°, 56%, 98%. Copy any format from the conversion table above.

What colors go well with #6F8DFB?

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

As HSL: color: hsl(227, 95%, 71%); — As HEX: color: #6F8DFB; — As RGB: color: rgb(111, 141, 251); — Tailwind CSS: bg-[hsl(227,95%,71%)] — CSS variable: --color-primary: hsl(227, 95%, 71%);