HSL(201, 96%, 34%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(201,96%,34%)]

Color Conversions

Format Value CSS Usage
HSL hsl(201, 96%, 34%) color: hsl(201, 96%, 34%)
HEX #0370AA color: #0370AA
RGB rgb(3, 112, 170) color: rgb(3, 112, 170)
CMYK cmyk(98%, 34%, 0%, 33%)
HSV hsv(201, 98%, 67%)
HWB hwb(201 1% 33%) color: hwb(201 1% 33%)
OKLCH oklch(0.5226 0.1234 242.15) color: oklch(0.5226 0.1234 242.15)
Lab lab(44.95 -4.56 -38.31) color: lab(44.95 -4.56 -38.31)
LCH lch(44.95 38.58 263.21) color: lch(44.95 38.58 263.21)

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.38:1
vs Black 3.9: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)

#32339C — rgb(50, 51, 156)

Deuteranopia (Green-blind)

#2C2499 — rgb(44, 36, 153)

Tritanopia (Blue-blind)

#08918E — rgb(8, 145, 142)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(201, 96%, 34%);

text

color: hsl(201, 96%, 34%);

border

border: 2px solid hsl(201, 96%, 34%);

gradient light

background: linear-gradient(to right, hsl(201, 96%, 54%), hsl(201, 96%, 34%));

gradient dark

background: linear-gradient(to right, hsl(201, 96%, 34%), hsl(201, 96%, 14%))

hex

background-color: #0370AA;

tailwind

bg-[hsl(201,96%,34%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(201, 96%, 34%, 0.4);

css variable

--color-primary: hsl(201, 96%, 34%);

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(201, 96%, 34%)?

HEX: #0370AA | RGB: rgb(3, 112, 170) | CMYK: 98%, 34%, 0%, 33% | HSV: 201°, 98%, 67%. Copy any format from the conversion table above.

What colors go well with #0370AA?

The complementary color is HSL(21, 96%, 34%). For a triadic harmony, use hues 201°, 321°, and 81°. For analogous combinations, try hues 171° and 231°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(201, 96%, 34%) in CSS?

As HSL: color: hsl(201, 96%, 34%); — As HEX: color: #0370AA; — As RGB: color: rgb(3, 112, 170); — Tailwind CSS: bg-[hsl(201,96%,34%)] — CSS variable: --color-primary: hsl(201, 96%, 34%);