HSL(232, 20%, 48%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(232,20%,48%)]

Color Conversions

Format Value CSS Usage
HSL hsl(232, 20%, 48%) color: hsl(232, 20%, 48%)
HEX #626893 color: #626893
RGB rgb(98, 104, 147) color: rgb(98, 104, 147)
CMYK cmyk(33%, 29%, 0%, 42%)
HSV hsv(233, 33%, 58%)
HWB hwb(233 39% 42%) color: hwb(233 39% 42%)
OKLCH oklch(0.5297 0.068 277.69) color: oklch(0.5297 0.068 277.69)
Lab lab(45.09 8.41 -24.26) color: lab(45.09 8.41 -24.26)
LCH lch(45.09 25.68 289.12) color: lch(45.09 25.68 289.12)

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.36:1
vs Black 3.92: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)

#656589 — rgb(101, 101, 137)

Deuteranopia (Green-blind)

#646486 — rgb(100, 100, 134)

Tritanopia (Blue-blind)

#62807F — rgb(98, 128, 127)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(232, 20%, 48%);

text

color: hsl(232, 20%, 48%);

border

border: 2px solid hsl(232, 20%, 48%);

gradient light

background: linear-gradient(to right, hsl(232, 20%, 68%), hsl(232, 20%, 48%));

gradient dark

background: linear-gradient(to right, hsl(232, 20%, 48%), hsl(232, 20%, 28%))

hex

background-color: #626893;

tailwind

bg-[hsl(232,20%,48%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(232, 20%, 48%, 0.4);

css variable

--color-primary: hsl(232, 20%, 48%);

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(232, 20%, 48%)?

HEX: #626893 | RGB: rgb(98, 104, 147) | CMYK: 33%, 29%, 0%, 42% | HSV: 233°, 33%, 58%. Copy any format from the conversion table above.

What colors go well with #626893?

The complementary color is HSL(52, 20%, 48%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(232, 20%, 48%) in CSS?

As HSL: color: hsl(232, 20%, 48%); — As HEX: color: #626893; — As RGB: color: rgb(98, 104, 147); — Tailwind CSS: bg-[hsl(232,20%,48%)] — CSS variable: --color-primary: hsl(232, 20%, 48%);