HSL(231, 77%, 62%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(231,77%,62%)]

Color Conversions

Format Value CSS Usage
HSL hsl(231, 77%, 62%) color: hsl(231, 77%, 62%)
HEX #536AE9 color: #536AE9
RGB rgb(83, 106, 233) color: rgb(83, 106, 233)
CMYK cmyk(64%, 55%, 0%, 9%)
HSV hsv(231, 64%, 91%)
HWB hwb(231 33% 9%) color: hwb(231 33% 9%)
OKLCH oklch(0.5768 0.1926 271.33) color: oklch(0.5768 0.1926 271.33)
Lab lab(49.53 31.02 -66.97) color: lab(49.53 31.02 -66.97)
LCH lch(49.53 73.81 294.85) color: lch(49.53 73.81 294.85)

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 4.56:1
vs Black 4.61:1

AA Normal (4.5:1)

on White: PASS ✓ 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)

#5D5DCA — rgb(93, 93, 202)

Deuteranopia (Green-blind)

#5C5AC3 — rgb(92, 90, 195)

Tritanopia (Blue-blind)

#54B2AD — rgb(84, 178, 173)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(231, 77%, 62%);

text

color: hsl(231, 77%, 62%);

border

border: 2px solid hsl(231, 77%, 62%);

gradient light

background: linear-gradient(to right, hsl(231, 77%, 82%), hsl(231, 77%, 62%));

gradient dark

background: linear-gradient(to right, hsl(231, 77%, 62%), hsl(231, 77%, 42%))

hex

background-color: #536AE9;

tailwind

bg-[hsl(231,77%,62%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(231, 77%, 62%, 0.4);

css variable

--color-primary: hsl(231, 77%, 62%);

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(231, 77%, 62%)?

HEX: #536AE9 | RGB: rgb(83, 106, 233) | CMYK: 64%, 55%, 0%, 9% | HSV: 231°, 64%, 91%. Copy any format from the conversion table above.

What colors go well with #536AE9?

The complementary color is HSL(51, 77%, 62%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(231, 77%, 62%) in CSS?

As HSL: color: hsl(231, 77%, 62%); — As HEX: color: #536AE9; — As RGB: color: rgb(83, 106, 233); — Tailwind CSS: bg-[hsl(231,77%,62%)] — CSS variable: --color-primary: hsl(231, 77%, 62%);