HSL(228, 70%, 74%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(228,70%,74%)]

Color Conversions

Format Value CSS Usage
HSL hsl(228, 70%, 74%) color: hsl(228, 70%, 74%)
HEX #8EA1EB color: #8EA1EB
RGB rgb(142, 161, 235) color: rgb(142, 161, 235)
CMYK cmyk(40%, 31%, 0%, 8%)
HSV hsv(228, 40%, 92%)
HWB hwb(228 55% 8%) color: hwb(228 55% 8%)
OKLCH oklch(0.7235 0.1101 272.4) color: oklch(0.7235 0.1101 272.4)
Lab lab(67.45 11.48 -39.34) color: lab(67.45 11.48 -39.34)
LCH lch(67.45 40.98 286.27) color: lch(67.45 40.98 286.27)

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.49:1
vs Black 8.45: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)

#9696D9 — rgb(150, 150, 217)

Deuteranopia (Green-blind)

#9594D5 — rgb(149, 148, 213)

Tritanopia (Blue-blind)

#8FCBC8 — rgb(143, 203, 200)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(228, 70%, 74%);

text

color: hsl(228, 70%, 74%);

border

border: 2px solid hsl(228, 70%, 74%);

gradient light

background: linear-gradient(to right, hsl(228, 70%, 94%), hsl(228, 70%, 74%));

gradient dark

background: linear-gradient(to right, hsl(228, 70%, 74%), hsl(228, 70%, 54%))

hex

background-color: #8EA1EB;

tailwind

bg-[hsl(228,70%,74%)]

box shadow

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

css variable

--color-primary: hsl(228, 70%, 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(228, 70%, 74%)?

HEX: #8EA1EB | RGB: rgb(142, 161, 235) | CMYK: 40%, 31%, 0%, 8% | HSV: 228°, 40%, 92%. Copy any format from the conversion table above.

What colors go well with #8EA1EB?

The complementary color is HSL(48, 70%, 74%). For a triadic harmony, use hues 228°, 348°, and 108°. For analogous combinations, try hues 198° and 258°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(228, 70%, 74%) in CSS?

As HSL: color: hsl(228, 70%, 74%); — As HEX: color: #8EA1EB; — As RGB: color: rgb(142, 161, 235); — Tailwind CSS: bg-[hsl(228,70%,74%)] — CSS variable: --color-primary: hsl(228, 70%, 74%);