HSL(231, 37%, 77%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,37%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 37%, 77%) | color: hsl(231, 37%, 77%) | |
| HEX | #AFB5DA | color: #AFB5DA | |
| RGB | rgb(175, 181, 218) | color: rgb(175, 181, 218) | |
| CMYK | cmyk(20%, 17%, 0%, 15%) | — | |
| HSV | hsv(232, 20%, 85%) | — | |
| HWB | hwb(232 68% 15%) | color: hwb(232 68% 15%) | |
| OKLCH | oklch(0.7807 0.053 277.86) | color: oklch(0.7807 0.053 277.86) | |
| Lab | lab(74.33 5.62 -19.27) | color: lab(74.33 5.62 -19.27) | |
| LCH | lch(74.33 20.07 286.26) | color: lch(74.33 20.07 286.26) |
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)
#B2B2D1 — rgb(178, 178, 209)
Deuteranopia (Green-blind)
#B1B1CF — rgb(177, 177, 207)
Tritanopia (Blue-blind)
#AFCAC8 — rgb(175, 202, 200)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 37%, 77%);
text
color: hsl(231, 37%, 77%);
border
border: 2px solid hsl(231, 37%, 77%);
gradient light
background: linear-gradient(to right, hsl(231, 37%, 97%), hsl(231, 37%, 77%));
gradient dark
background: linear-gradient(to right, hsl(231, 37%, 77%), hsl(231, 37%, 57%))
hex
background-color: #AFB5DA;
tailwind
bg-[hsl(231,37%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 37%, 77%, 0.4);
css variable
--color-primary: hsl(231, 37%, 77%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 37%, 77%)?
HEX: #AFB5DA | RGB: rgb(175, 181, 218) | CMYK: 20%, 17%, 0%, 15% | HSV: 232°, 20%, 85%. Copy any format from the conversion table above.
What colors go well with #AFB5DA?
The complementary color is HSL(51, 37%, 77%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 37%, 77%) in CSS?
As HSL: color: hsl(231, 37%, 77%); — As HEX: color: #AFB5DA; — As RGB: color: rgb(175, 181, 218); — Tailwind CSS: bg-[hsl(231,37%,77%)] — CSS variable: --color-primary: hsl(231, 37%, 77%);