HSL(230, 27%, 61%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(230,27%,61%)]

Color Conversions

Format Value CSS Usage
HSL hsl(230, 27%, 61%) color: hsl(230, 27%, 61%)
HEX #818AB6 color: #818AB6
RGB rgb(129, 138, 182) color: rgb(129, 138, 182)
CMYK cmyk(29%, 24%, 0%, 29%)
HSV hsv(230, 29%, 71%)
HWB hwb(230 50% 29%) color: hwb(230 50% 29%)
OKLCH oklch(0.6426 0.0668 275.4) color: oklch(0.6426 0.0668 275.4)
Lab lab(58.25 6.96 -24.11) color: lab(58.25 6.96 -24.11)
LCH lch(58.25 25.09 286.1) color: lch(58.25 25.09 286.1)

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 3.36:1
vs Black 6.24:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#8585AB — rgb(133, 133, 171)

Deuteranopia (Green-blind)

#8484A9 — rgb(132, 132, 169)

Tritanopia (Blue-blind)

#81A3A1 — rgb(129, 163, 161)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(230, 27%, 61%);

text

color: hsl(230, 27%, 61%);

border

border: 2px solid hsl(230, 27%, 61%);

gradient light

background: linear-gradient(to right, hsl(230, 27%, 81%), hsl(230, 27%, 61%));

gradient dark

background: linear-gradient(to right, hsl(230, 27%, 61%), hsl(230, 27%, 41%))

hex

background-color: #818AB6;

tailwind

bg-[hsl(230,27%,61%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(230, 27%, 61%, 0.4);

css variable

--color-primary: hsl(230, 27%, 61%);

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(230, 27%, 61%)?

HEX: #818AB6 | RGB: rgb(129, 138, 182) | CMYK: 29%, 24%, 0%, 29% | HSV: 230°, 29%, 71%. Copy any format from the conversion table above.

What colors go well with #818AB6?

The complementary color is HSL(50, 27%, 61%). For a triadic harmony, use hues 230°, 350°, and 110°. For analogous combinations, try hues 200° and 260°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(230, 27%, 61%) in CSS?

As HSL: color: hsl(230, 27%, 61%); — As HEX: color: #818AB6; — As RGB: color: rgb(129, 138, 182); — Tailwind CSS: bg-[hsl(230,27%,61%)] — CSS variable: --color-primary: hsl(230, 27%, 61%);