HSL(231, 21%, 76%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,21%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 21%, 76%) | color: hsl(231, 21%, 76%) | |
| HEX | #B5B9CF | color: #B5B9CF | |
| RGB | rgb(181, 185, 207) | color: rgb(181, 185, 207) | |
| CMYK | cmyk(13%, 11%, 0%, 19%) | — | |
| HSV | hsv(231, 13%, 81%) | — | |
| HWB | hwb(231 70% 19%) | color: hwb(231 70% 19%) | |
| OKLCH | oklch(0.7896 0.0314 277.48) | color: oklch(0.7896 0.0314 277.48) | |
| Lab | lab(75.47 2.99 -11.53) | color: lab(75.47 2.99 -11.53) | |
| LCH | lch(75.47 11.91 284.54) | color: lch(75.47 11.91 284.54) |
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)
#B7B7CA — rgb(183, 183, 202)
Deuteranopia (Green-blind)
#B7B6C8 — rgb(183, 182, 200)
Tritanopia (Blue-blind)
#B5C5C5 — rgb(181, 197, 197)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 21%, 76%);
text
color: hsl(231, 21%, 76%);
border
border: 2px solid hsl(231, 21%, 76%);
gradient light
background: linear-gradient(to right, hsl(231, 21%, 96%), hsl(231, 21%, 76%));
gradient dark
background: linear-gradient(to right, hsl(231, 21%, 76%), hsl(231, 21%, 56%))
hex
background-color: #B5B9CF;
tailwind
bg-[hsl(231,21%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 21%, 76%, 0.4);
css variable
--color-primary: hsl(231, 21%, 76%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 21%, 76%)?
HEX: #B5B9CF | RGB: rgb(181, 185, 207) | CMYK: 13%, 11%, 0%, 19% | HSV: 231°, 13%, 81%. Copy any format from the conversion table above.
What colors go well with #B5B9CF?
The complementary color is HSL(51, 21%, 76%). 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, 21%, 76%) in CSS?
As HSL: color: hsl(231, 21%, 76%); — As HEX: color: #B5B9CF; — As RGB: color: rgb(181, 185, 207); — Tailwind CSS: bg-[hsl(231,21%,76%)] — CSS variable: --color-primary: hsl(231, 21%, 76%);