HSL(234, 75%, 82%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(234,75%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(234, 75%, 82%) | color: hsl(234, 75%, 82%) | |
| HEX | #AFB6F4 | color: #AFB6F4 | |
| RGB | rgb(175, 182, 244) | color: rgb(175, 182, 244) | |
| CMYK | cmyk(28%, 25%, 0%, 4%) | — | |
| HSV | hsv(234, 28%, 96%) | — | |
| HWB | hwb(234 69% 4%) | color: hwb(234 69% 4%) | |
| OKLCH | oklch(0.793 0.0883 279.18) | color: oklch(0.793 0.0883 279.18) | |
| Lab | lab(75.51 11.13 -31.55) | color: lab(75.51 11.13 -31.55) | |
| LCH | lch(75.51 33.46 289.43) | color: lch(75.51 33.46 289.43) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#B2B2E5 — rgb(178, 178, 229)
Deuteranopia (Green-blind)
#B2B1E1 — rgb(178, 177, 225)
Tritanopia (Blue-blind)
#AFD9D7 — rgb(175, 217, 215)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(234, 75%, 82%);
text
color: hsl(234, 75%, 82%);
border
border: 2px solid hsl(234, 75%, 82%);
gradient light
background: linear-gradient(to right, hsl(234, 75%, 100%), hsl(234, 75%, 82%));
gradient dark
background: linear-gradient(to right, hsl(234, 75%, 82%), hsl(234, 75%, 62%))
hex
background-color: #AFB6F4;
tailwind
bg-[hsl(234,75%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(234, 75%, 82%, 0.4);
css variable
--color-primary: hsl(234, 75%, 82%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(234, 75%, 82%)?
HEX: #AFB6F4 | RGB: rgb(175, 182, 244) | CMYK: 28%, 25%, 0%, 4% | HSV: 234°, 28%, 96%. Copy any format from the conversion table above.
What colors go well with #AFB6F4?
The complementary color is HSL(54, 75%, 82%). For a triadic harmony, use hues 234°, 354°, and 114°. For analogous combinations, try hues 204° and 264°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(234, 75%, 82%) in CSS?
As HSL: color: hsl(234, 75%, 82%); — As HEX: color: #AFB6F4; — As RGB: color: rgb(175, 182, 244); — Tailwind CSS: bg-[hsl(234,75%,82%)] — CSS variable: --color-primary: hsl(234, 75%, 82%);