HSL(205, 87%, 37%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(205,87%,37%)]

Color Conversions

Format Value CSS Usage
HSL hsl(205, 87%, 37%) color: hsl(205, 87%, 37%)
HEX #0C6CB0 color: #0C6CB0
RGB rgb(12, 108, 176) color: rgb(12, 108, 176)
CMYK cmyk(93%, 39%, 0%, 31%)
HSV hsv(205, 93%, 69%)
HWB hwb(205 5% 31%) color: hwb(205 5% 31%)
OKLCH oklch(0.5175 0.1333 247.54) color: oklch(0.5175 0.1333 247.54)
Lab lab(44.14 0.66 -43.1) color: lab(44.14 0.66 -43.1)
LCH lch(44.14 43.11 270.88) color: lch(44.14 43.11 270.88)

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.54:1
vs Black 3.79: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)

#3636A0 — rgb(54, 54, 160)

Deuteranopia (Green-blind)

#30299C — rgb(48, 41, 156)

Tritanopia (Blue-blind)

#119390 — rgb(17, 147, 144)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(205, 87%, 37%);

text

color: hsl(205, 87%, 37%);

border

border: 2px solid hsl(205, 87%, 37%);

gradient light

background: linear-gradient(to right, hsl(205, 87%, 57%), hsl(205, 87%, 37%));

gradient dark

background: linear-gradient(to right, hsl(205, 87%, 37%), hsl(205, 87%, 17%))

hex

background-color: #0C6CB0;

tailwind

bg-[hsl(205,87%,37%)]

box shadow

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

css variable

--color-primary: hsl(205, 87%, 37%);

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(205, 87%, 37%)?

HEX: #0C6CB0 | RGB: rgb(12, 108, 176) | CMYK: 93%, 39%, 0%, 31% | HSV: 205°, 93%, 69%. Copy any format from the conversion table above.

What colors go well with #0C6CB0?

The complementary color is HSL(25, 87%, 37%). For a triadic harmony, use hues 205°, 325°, and 85°. For analogous combinations, try hues 175° and 235°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(205, 87%, 37%) in CSS?

As HSL: color: hsl(205, 87%, 37%); — As HEX: color: #0C6CB0; — As RGB: color: rgb(12, 108, 176); — Tailwind CSS: bg-[hsl(205,87%,37%)] — CSS variable: --color-primary: hsl(205, 87%, 37%);