HSL(188, 31%, 31%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(188,31%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(188, 31%, 31%) color: hsl(188, 31%, 31%)
HEX #376168 color: #376168
RGB rgb(55, 97, 104) color: rgb(55, 97, 104)
CMYK cmyk(47%, 7%, 0%, 59%)
HSV hsv(189, 47%, 41%)
HWB hwb(189 22% 59%) color: hwb(189 22% 59%)
OKLCH oklch(0.4648 0.0482 209.26) color: oklch(0.4648 0.0482 209.26)
Lab lab(38.48 -12.58 -8.56) color: lab(38.48 -12.58 -8.56)
LCH lch(38.48 15.22 214.23) color: lch(38.48 15.22 214.23)

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 6.84:1
vs Black 3.07:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#494A66 — rgb(73, 74, 102)

Deuteranopia (Green-blind)

#474466 — rgb(71, 68, 102)

Tritanopia (Blue-blind)

#396565 — rgb(57, 101, 101)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(188, 31%, 31%);

text

color: hsl(188, 31%, 31%);

border

border: 2px solid hsl(188, 31%, 31%);

gradient light

background: linear-gradient(to right, hsl(188, 31%, 51%), hsl(188, 31%, 31%));

gradient dark

background: linear-gradient(to right, hsl(188, 31%, 31%), hsl(188, 31%, 11%))

hex

background-color: #376168;

tailwind

bg-[hsl(188,31%,31%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(188, 31%, 31%, 0.4);

css variable

--color-primary: hsl(188, 31%, 31%);

Related Colors

Use Cases for Cyan

Tech/SaaS products Medical apps Water/ocean themes Clean UI elements Data viz

Frequently Asked Questions

What are all the color codes for HSL(188, 31%, 31%)?

HEX: #376168 | RGB: rgb(55, 97, 104) | CMYK: 47%, 7%, 0%, 59% | HSV: 189°, 47%, 41%. Copy any format from the conversion table above.

What colors go well with #376168?

The complementary color is HSL(8, 31%, 31%). For a triadic harmony, use hues 188°, 308°, and 68°. For analogous combinations, try hues 158° and 218°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(188, 31%, 31%) in CSS?

As HSL: color: hsl(188, 31%, 31%); — As HEX: color: #376168; — As RGB: color: rgb(55, 97, 104); — Tailwind CSS: bg-[hsl(188,31%,31%)] — CSS variable: --color-primary: hsl(188, 31%, 31%);