HSL(233, 40%, 74%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(233,40%,74%)]

Color Conversions

Format Value CSS Usage
HSL hsl(233, 40%, 74%) color: hsl(233, 40%, 74%)
HEX #A2A8D7 color: #A2A8D7
RGB rgb(162, 168, 215) color: rgb(162, 168, 215)
CMYK cmyk(25%, 22%, 0%, 16%)
HSV hsv(233, 25%, 84%)
HWB hwb(233 63% 16%) color: hwb(233 63% 16%)
OKLCH oklch(0.7434 0.0681 278.93) color: oklch(0.7434 0.0681 278.93)
Lab lab(69.89 8.09 -24.48) color: lab(69.89 8.09 -24.48)
LCH lch(69.89 25.78 288.29) color: lch(69.89 25.78 288.29)

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 2.3:1
vs Black 9.12:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#A5A5CC — rgb(165, 165, 204)

Deuteranopia (Green-blind)

#A4A4C9 — rgb(164, 164, 201)

Tritanopia (Blue-blind)

#A2C3C1 — rgb(162, 195, 193)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(233, 40%, 74%);

text

color: hsl(233, 40%, 74%);

border

border: 2px solid hsl(233, 40%, 74%);

gradient light

background: linear-gradient(to right, hsl(233, 40%, 94%), hsl(233, 40%, 74%));

gradient dark

background: linear-gradient(to right, hsl(233, 40%, 74%), hsl(233, 40%, 54%))

hex

background-color: #A2A8D7;

tailwind

bg-[hsl(233,40%,74%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(233, 40%, 74%, 0.4);

css variable

--color-primary: hsl(233, 40%, 74%);

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(233, 40%, 74%)?

HEX: #A2A8D7 | RGB: rgb(162, 168, 215) | CMYK: 25%, 22%, 0%, 16% | HSV: 233°, 25%, 84%. Copy any format from the conversion table above.

What colors go well with #A2A8D7?

The complementary color is HSL(53, 40%, 74%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(233, 40%, 74%) in CSS?

As HSL: color: hsl(233, 40%, 74%); — As HEX: color: #A2A8D7; — As RGB: color: rgb(162, 168, 215); — Tailwind CSS: bg-[hsl(233,40%,74%)] — CSS variable: --color-primary: hsl(233, 40%, 74%);