HSL(227, 19%, 46%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(227,19%,46%)]

Color Conversions

Format Value CSS Usage
HSL hsl(227, 19%, 46%) color: hsl(227, 19%, 46%)
HEX #5F698C color: #5F698C
RGB rgb(95, 105, 140) color: rgb(95, 105, 140)
CMYK cmyk(32%, 25%, 0%, 45%)
HSV hsv(227, 32%, 55%)
HWB hwb(227 37% 45%) color: hwb(227 37% 45%)
OKLCH oklch(0.5262 0.0567 272) color: oklch(0.5262 0.0567 272)
Lab lab(44.84 4.93 -20.48) color: lab(44.84 4.93 -20.48)
LCH lch(44.84 21.07 283.53) color: lch(44.84 21.07 283.53)

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.4:1
vs Black 3.89: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)

#636384 — rgb(99, 99, 132)

Deuteranopia (Green-blind)

#636282 — rgb(99, 98, 130)

Tritanopia (Blue-blind)

#607D7B — rgb(96, 125, 123)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(227, 19%, 46%);

text

color: hsl(227, 19%, 46%);

border

border: 2px solid hsl(227, 19%, 46%);

gradient light

background: linear-gradient(to right, hsl(227, 19%, 66%), hsl(227, 19%, 46%));

gradient dark

background: linear-gradient(to right, hsl(227, 19%, 46%), hsl(227, 19%, 26%))

hex

background-color: #5F698C;

tailwind

bg-[hsl(227,19%,46%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(227, 19%, 46%, 0.4);

css variable

--color-primary: hsl(227, 19%, 46%);

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(227, 19%, 46%)?

HEX: #5F698C | RGB: rgb(95, 105, 140) | CMYK: 32%, 25%, 0%, 45% | HSV: 227°, 32%, 55%. Copy any format from the conversion table above.

What colors go well with #5F698C?

The complementary color is HSL(47, 19%, 46%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(227, 19%, 46%) in CSS?

As HSL: color: hsl(227, 19%, 46%); — As HEX: color: #5F698C; — As RGB: color: rgb(95, 105, 140); — Tailwind CSS: bg-[hsl(227,19%,46%)] — CSS variable: --color-primary: hsl(227, 19%, 46%);