HSL(190, 40%, 37%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(190,40%,37%)]

Color Conversions

Format Value CSS Usage
HSL hsl(190, 40%, 37%) color: hsl(190, 40%, 37%)
HEX #397884 color: #397884
RGB rgb(57, 120, 132) color: rgb(57, 120, 132)
CMYK cmyk(57%, 9%, 0%, 48%)
HSV hsv(190, 57%, 52%)
HWB hwb(190 22% 48%) color: hwb(190 22% 48%)
OKLCH oklch(0.5361 0.067 211.68) color: oklch(0.5361 0.067 211.68)
Lab lab(46.93 -16.54 -12.72) color: lab(46.93 -16.54 -12.72)
LCH lch(46.93 20.87 217.56) color: lch(46.93 20.87 217.56)

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 5.01:1
vs Black 4.19: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)

#545581 — rgb(84, 85, 129)

Deuteranopia (Green-blind)

#514C80 — rgb(81, 76, 128)

Tritanopia (Blue-blind)

#3C7F7E — rgb(60, 127, 126)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(190, 40%, 37%);

text

color: hsl(190, 40%, 37%);

border

border: 2px solid hsl(190, 40%, 37%);

gradient light

background: linear-gradient(to right, hsl(190, 40%, 57%), hsl(190, 40%, 37%));

gradient dark

background: linear-gradient(to right, hsl(190, 40%, 37%), hsl(190, 40%, 17%))

hex

background-color: #397884;

tailwind

bg-[hsl(190,40%,37%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(190, 40%, 37%, 0.4);

css variable

--color-primary: hsl(190, 40%, 37%);

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(190, 40%, 37%)?

HEX: #397884 | RGB: rgb(57, 120, 132) | CMYK: 57%, 9%, 0%, 48% | HSV: 190°, 57%, 52%. Copy any format from the conversion table above.

What colors go well with #397884?

The complementary color is HSL(10, 40%, 37%). For a triadic harmony, use hues 190°, 310°, and 70°. For analogous combinations, try hues 160° and 220°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(190, 40%, 37%) in CSS?

As HSL: color: hsl(190, 40%, 37%); — As HEX: color: #397884; — As RGB: color: rgb(57, 120, 132); — Tailwind CSS: bg-[hsl(190,40%,37%)] — CSS variable: --color-primary: hsl(190, 40%, 37%);