HSL(237, 75%, 82%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,75%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 75%, 82%) | color: hsl(237, 75%, 82%) | |
| HEX | #AFB2F4 | color: #AFB2F4 | |
| RGB | rgb(175, 178, 244) | color: rgb(175, 178, 244) | |
| CMYK | cmyk(28%, 27%, 0%, 4%) | — | |
| HSV | hsv(237, 28%, 96%) | — | |
| HWB | hwb(237 69% 4%) | color: hwb(237 69% 4%) | |
| OKLCH | oklch(0.7851 0.0937 281.99) | color: oklch(0.7851 0.0937 281.99) | |
| Lab | lab(74.5 13.34 -33.12) | color: lab(74.5 13.34 -33.12) | |
| LCH | lch(74.5 35.71 291.94) | color: lch(74.5 35.71 291.94) |
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)
#B0B0E4 — rgb(176, 176, 228)
Deuteranopia (Green-blind)
#B0B0E0 — rgb(176, 176, 224)
Tritanopia (Blue-blind)
#AFD7D5 — rgb(175, 215, 213)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 75%, 82%);
text
color: hsl(237, 75%, 82%);
border
border: 2px solid hsl(237, 75%, 82%);
gradient light
background: linear-gradient(to right, hsl(237, 75%, 100%), hsl(237, 75%, 82%));
gradient dark
background: linear-gradient(to right, hsl(237, 75%, 82%), hsl(237, 75%, 62%))
hex
background-color: #AFB2F4;
tailwind
bg-[hsl(237,75%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 75%, 82%, 0.4);
css variable
--color-primary: hsl(237, 75%, 82%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 75%, 82%)?
HEX: #AFB2F4 | RGB: rgb(175, 178, 244) | CMYK: 28%, 27%, 0%, 4% | HSV: 237°, 28%, 96%. Copy any format from the conversion table above.
What colors go well with #AFB2F4?
The complementary color is HSL(57, 75%, 82%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 75%, 82%) in CSS?
As HSL: color: hsl(237, 75%, 82%); — As HEX: color: #AFB2F4; — As RGB: color: rgb(175, 178, 244); — Tailwind CSS: bg-[hsl(237,75%,82%)] — CSS variable: --color-primary: hsl(237, 75%, 82%);