HSL(242, 34%, 81%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(242,34%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(242, 34%, 81%) | color: hsl(242, 34%, 81%) | |
| HEX | #BFBEDF | color: #BFBEDF | |
| RGB | rgb(191, 190, 223) | color: rgb(191, 190, 223) | |
| CMYK | cmyk(14%, 15%, 0%, 13%) | — | |
| HSV | hsv(242, 15%, 87%) | — | |
| HWB | hwb(242 74% 13%) | color: hwb(242 74% 13%) | |
| OKLCH | oklch(0.813 0.0461 286.71) | color: oklch(0.813 0.0461 286.71) | |
| Lab | lab(78.01 6.88 -16.31) | color: lab(78.01 6.88 -16.31) | |
| LCH | lch(78.01 17.7 292.87) | color: lch(78.01 17.7 292.87) |
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)
#BFBFD7 — rgb(191, 191, 215)
Deuteranopia (Green-blind)
#BFBFD5 — rgb(191, 191, 213)
Tritanopia (Blue-blind)
#BFD1CF — rgb(191, 209, 207)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(242, 34%, 81%);
text
color: hsl(242, 34%, 81%);
border
border: 2px solid hsl(242, 34%, 81%);
gradient light
background: linear-gradient(to right, hsl(242, 34%, 100%), hsl(242, 34%, 81%));
gradient dark
background: linear-gradient(to right, hsl(242, 34%, 81%), hsl(242, 34%, 61%))
hex
background-color: #BFBEDF;
tailwind
bg-[hsl(242,34%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(242, 34%, 81%, 0.4);
css variable
--color-primary: hsl(242, 34%, 81%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(242, 34%, 81%)?
HEX: #BFBEDF | RGB: rgb(191, 190, 223) | CMYK: 14%, 15%, 0%, 13% | HSV: 242°, 15%, 87%. Copy any format from the conversion table above.
What colors go well with #BFBEDF?
The complementary color is HSL(62, 34%, 81%). For a triadic harmony, use hues 242°, 2°, and 122°. For analogous combinations, try hues 212° and 272°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(242, 34%, 81%) in CSS?
As HSL: color: hsl(242, 34%, 81%); — As HEX: color: #BFBEDF; — As RGB: color: rgb(191, 190, 223); — Tailwind CSS: bg-[hsl(242,34%,81%)] — CSS variable: --color-primary: hsl(242, 34%, 81%);