HSL(222, 90%, 67%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(222,90%,67%)]

Color Conversions

Format Value CSS Usage
HSL hsl(222, 90%, 67%) color: hsl(222, 90%, 67%)
HEX #5F8DF7 color: #5F8DF7
RGB rgb(95, 141, 247) color: rgb(95, 141, 247)
CMYK cmyk(62%, 43%, 0%, 3%)
HSV hsv(222, 62%, 97%)
HWB hwb(222 37% 3%) color: hwb(222 37% 3%)
OKLCH oklch(0.6613 0.1655 264.63) color: oklch(0.6613 0.1655 264.63)
Lab lab(60.06 16.41 -57.78) color: lab(60.06 16.41 -57.78)
LCH lch(60.06 60.07 285.85) color: lch(60.06 60.07 285.85)

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.16:1
vs Black 6.64: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)

#7373DD — rgb(115, 115, 221)

Deuteranopia (Green-blind)

#706DD7 — rgb(112, 109, 215)

Tritanopia (Blue-blind)

#61C9C5 — rgb(97, 201, 197)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(222, 90%, 67%);

text

color: hsl(222, 90%, 67%);

border

border: 2px solid hsl(222, 90%, 67%);

gradient light

background: linear-gradient(to right, hsl(222, 90%, 87%), hsl(222, 90%, 67%));

gradient dark

background: linear-gradient(to right, hsl(222, 90%, 67%), hsl(222, 90%, 47%))

hex

background-color: #5F8DF7;

tailwind

bg-[hsl(222,90%,67%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(222, 90%, 67%, 0.4);

css variable

--color-primary: hsl(222, 90%, 67%);

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(222, 90%, 67%)?

HEX: #5F8DF7 | RGB: rgb(95, 141, 247) | CMYK: 62%, 43%, 0%, 3% | HSV: 222°, 62%, 97%. Copy any format from the conversion table above.

What colors go well with #5F8DF7?

The complementary color is HSL(42, 90%, 67%). For a triadic harmony, use hues 222°, 342°, and 102°. For analogous combinations, try hues 192° and 252°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(222, 90%, 67%) in CSS?

As HSL: color: hsl(222, 90%, 67%); — As HEX: color: #5F8DF7; — As RGB: color: rgb(95, 141, 247); — Tailwind CSS: bg-[hsl(222,90%,67%)] — CSS variable: --color-primary: hsl(222, 90%, 67%);