HSL(222, 57%, 67%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(222, 57%, 67%) color: hsl(222, 57%, 67%)
HEX #7B98DB color: #7B98DB
RGB rgb(123, 152, 219) color: rgb(123, 152, 219)
CMYK cmyk(44%, 31%, 0%, 14%)
HSV hsv(222, 44%, 86%)
HWB hwb(222 48% 14%) color: hwb(222 48% 14%)
OKLCH oklch(0.6848 0.1048 265.82) color: oklch(0.6848 0.1048 265.82)
Lab lab(63.16 7.27 -37.31) color: lab(63.16 7.27 -37.31)
LCH lch(63.16 38.01 281.03) color: lch(63.16 38.01 281.03)

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.85:1
vs Black 7.36: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)

#8888CB — rgb(136, 136, 203)

Deuteranopia (Green-blind)

#8684C7 — rgb(134, 132, 199)

Tritanopia (Blue-blind)

#7CBEBB — rgb(124, 190, 187)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #7B98DB;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(222, 57%, 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, 57%, 67%)?

HEX: #7B98DB | RGB: rgb(123, 152, 219) | CMYK: 44%, 31%, 0%, 14% | HSV: 222°, 44%, 86%. Copy any format from the conversion table above.

What colors go well with #7B98DB?

The complementary color is HSL(42, 57%, 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, 57%, 67%) in CSS?

As HSL: color: hsl(222, 57%, 67%); — As HEX: color: #7B98DB; — As RGB: color: rgb(123, 152, 219); — Tailwind CSS: bg-[hsl(222,57%,67%)] — CSS variable: --color-primary: hsl(222, 57%, 67%);