HSL(242, 90%, 83%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(242,90%,83%)]

Color Conversions

Format Value CSS Usage
HSL hsl(242, 90%, 83%) color: hsl(242, 90%, 83%)
HEX #AFADFB color: #AFADFB
RGB rgb(175, 173, 251) color: rgb(175, 173, 251)
CMYK cmyk(30%, 31%, 0%, 2%)
HSV hsv(242, 31%, 98%)
HWB hwb(242 68% 2%) color: hwb(242 68% 2%)
OKLCH oklch(0.7785 0.1104 284.7) color: oklch(0.7785 0.1104 284.7)
Lab lab(73.52 17.84 -38.41) color: lab(73.52 17.84 -38.41)
LCH lch(73.52 42.35 294.91) color: lch(73.52 42.35 294.91)

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.06:1
vs Black 10.19: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)

#AEAEE8 — rgb(174, 174, 232)

Deuteranopia (Green-blind)

#AEAEE4 — rgb(174, 174, 228)

Tritanopia (Blue-blind)

#AFD9D6 — rgb(175, 217, 214)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(242, 90%, 83%);

text

color: hsl(242, 90%, 83%);

border

border: 2px solid hsl(242, 90%, 83%);

gradient light

background: linear-gradient(to right, hsl(242, 90%, 100%), hsl(242, 90%, 83%));

gradient dark

background: linear-gradient(to right, hsl(242, 90%, 83%), hsl(242, 90%, 63%))

hex

background-color: #AFADFB;

tailwind

bg-[hsl(242,90%,83%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(242, 90%, 83%, 0.4);

css variable

--color-primary: hsl(242, 90%, 83%);

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(242, 90%, 83%)?

HEX: #AFADFB | RGB: rgb(175, 173, 251) | CMYK: 30%, 31%, 0%, 2% | HSV: 242°, 31%, 98%. Copy any format from the conversion table above.

What colors go well with #AFADFB?

The complementary color is HSL(62, 90%, 83%). For a triadic harmony, use hues 242°, 2°, and 122°. For analogous combinations, try hues 212° and 272°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(242, 90%, 83%) in CSS?

As HSL: color: hsl(242, 90%, 83%); — As HEX: color: #AFADFB; — As RGB: color: rgb(175, 173, 251); — Tailwind CSS: bg-[hsl(242,90%,83%)] — CSS variable: --color-primary: hsl(242, 90%, 83%);