HSL(237, 57%, 80%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,57%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 57%, 80%) | color: hsl(237, 57%, 80%) | |
| HEX | #AFB2E9 | color: #AFB2E9 | |
| RGB | rgb(175, 178, 233) | color: rgb(175, 178, 233) | |
| CMYK | cmyk(25%, 24%, 0%, 9%) | — | |
| HSV | hsv(237, 25%, 91%) | — | |
| HWB | hwb(237 68% 9%) | color: hwb(237 68% 9%) | |
| OKLCH | oklch(0.7806 0.0782 281.99) | color: oklch(0.7806 0.0782 281.99) | |
| Lab | lab(74.09 10.71 -27.8) | color: lab(74.09 10.71 -27.8) | |
| LCH | lch(74.09 29.79 291.07) | color: lch(74.09 29.79 291.07) |
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)
#B0B0DC — rgb(176, 176, 220)
Deuteranopia (Green-blind)
#B0B0D9 — rgb(176, 176, 217)
Tritanopia (Blue-blind)
#AFD1CF — rgb(175, 209, 207)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 57%, 80%);
text
color: hsl(237, 57%, 80%);
border
border: 2px solid hsl(237, 57%, 80%);
gradient light
background: linear-gradient(to right, hsl(237, 57%, 100%), hsl(237, 57%, 80%));
gradient dark
background: linear-gradient(to right, hsl(237, 57%, 80%), hsl(237, 57%, 60%))
hex
background-color: #AFB2E9;
tailwind
bg-[hsl(237,57%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 57%, 80%, 0.4);
css variable
--color-primary: hsl(237, 57%, 80%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 57%, 80%)?
HEX: #AFB2E9 | RGB: rgb(175, 178, 233) | CMYK: 25%, 24%, 0%, 9% | HSV: 237°, 25%, 91%. Copy any format from the conversion table above.
What colors go well with #AFB2E9?
The complementary color is HSL(57, 57%, 80%). 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, 57%, 80%) in CSS?
As HSL: color: hsl(237, 57%, 80%); — As HEX: color: #AFB2E9; — As RGB: color: rgb(175, 178, 233); — Tailwind CSS: bg-[hsl(237,57%,80%)] — CSS variable: --color-primary: hsl(237, 57%, 80%);