HSL(242, 14%, 81%)

Grayish Blue — Blue color

Adjust Color

Color Information

Color Name

Grayish Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(242,14%,81%)]

Color Conversions

Format Value CSS Usage
HSL hsl(242, 14%, 81%) color: hsl(242, 14%, 81%)
HEX #C8C8D5 color: #C8C8D5
RGB rgb(200, 200, 213) color: rgb(200, 200, 213)
CMYK cmyk(6%, 6%, 0%, 16%)
HSV hsv(240, 6%, 84%)
HWB hwb(240 79% 16%) color: hwb(240 79% 16%)
OKLCH oklch(0.8367 0.018 286.01) color: oklch(0.8367 0.018 286.01)
Lab lab(80.96 2.45 -6.46) color: lab(80.96 2.45 -6.46)
LCH lch(80.96 6.91 290.77) color: lch(80.96 6.91 290.77)

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 1.66:1
vs Black 12.68: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)

#C8C8D2 — rgb(200, 200, 210)

Deuteranopia (Green-blind)

#C8C8D1 — rgb(200, 200, 209)

Tritanopia (Blue-blind)

#C8CFCF — rgb(200, 207, 207)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(242, 14%, 81%);

text

color: hsl(242, 14%, 81%);

border

border: 2px solid hsl(242, 14%, 81%);

gradient light

background: linear-gradient(to right, hsl(242, 14%, 100%), hsl(242, 14%, 81%));

gradient dark

background: linear-gradient(to right, hsl(242, 14%, 81%), hsl(242, 14%, 61%))

hex

background-color: #C8C8D5;

tailwind

bg-[hsl(242,14%,81%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(242, 14%, 81%, 0.4);

css variable

--color-primary: hsl(242, 14%, 81%);

Related Colors

Use Cases for Grayish Blue

Corporate branding Trust signals Tech products Social media Primary buttons

Frequently Asked Questions

What are all the color codes for HSL(242, 14%, 81%)?

HEX: #C8C8D5 | RGB: rgb(200, 200, 213) | CMYK: 6%, 6%, 0%, 16% | HSV: 240°, 6%, 84%. Copy any format from the conversion table above.

What colors go well with #C8C8D5?

The complementary color is HSL(62, 14%, 81%). For a triadic harmony, use hues 242°, 2°, and 122°. For analogous combinations, try hues 212° and 272°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(242, 14%, 81%) in CSS?

As HSL: color: hsl(242, 14%, 81%); — As HEX: color: #C8C8D5; — As RGB: color: rgb(200, 200, 213); — Tailwind CSS: bg-[hsl(242,14%,81%)] — CSS variable: --color-primary: hsl(242, 14%, 81%);