HSL(237, 66%, 81%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,66%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 66%, 81%) | color: hsl(237, 66%, 81%) | |
| HEX | #AFB2EF | color: #AFB2EF | |
| RGB | rgb(175, 178, 239) | color: rgb(175, 178, 239) | |
| CMYK | cmyk(27%, 26%, 0%, 6%) | — | |
| HSV | hsv(237, 27%, 94%) | — | |
| HWB | hwb(237 69% 6%) | color: hwb(237 69% 6%) | |
| OKLCH | oklch(0.783 0.0866 282.01) | color: oklch(0.783 0.0866 282.01) | |
| Lab | lab(74.31 12.14 -30.71) | color: lab(74.31 12.14 -30.71) | |
| LCH | lch(74.31 33.02 291.57) | color: lch(74.31 33.02 291.57) |
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)
#B0B0E0 — rgb(176, 176, 224)
Deuteranopia (Green-blind)
#B0B0DD — rgb(176, 176, 221)
Tritanopia (Blue-blind)
#AFD5D2 — rgb(175, 213, 210)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 66%, 81%);
text
color: hsl(237, 66%, 81%);
border
border: 2px solid hsl(237, 66%, 81%);
gradient light
background: linear-gradient(to right, hsl(237, 66%, 100%), hsl(237, 66%, 81%));
gradient dark
background: linear-gradient(to right, hsl(237, 66%, 81%), hsl(237, 66%, 61%))
hex
background-color: #AFB2EF;
tailwind
bg-[hsl(237,66%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 66%, 81%, 0.4);
css variable
--color-primary: hsl(237, 66%, 81%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 66%, 81%)?
HEX: #AFB2EF | RGB: rgb(175, 178, 239) | CMYK: 27%, 26%, 0%, 6% | HSV: 237°, 27%, 94%. Copy any format from the conversion table above.
What colors go well with #AFB2EF?
The complementary color is HSL(57, 66%, 81%). 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, 66%, 81%) in CSS?
As HSL: color: hsl(237, 66%, 81%); — As HEX: color: #AFB2EF; — As RGB: color: rgb(175, 178, 239); — Tailwind CSS: bg-[hsl(237,66%,81%)] — CSS variable: --color-primary: hsl(237, 66%, 81%);