HSL(242, 77%, 85%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(242,77%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(242, 77%, 85%) | color: hsl(242, 77%, 85%) | |
| HEX | #BDBBF6 | color: #BDBBF6 | |
| RGB | rgb(189, 187, 246) | color: rgb(189, 187, 246) | |
| CMYK | cmyk(23%, 24%, 0%, 4%) | — | |
| HSV | hsv(242, 24%, 96%) | — | |
| HWB | hwb(242 73% 4%) | color: hwb(242 73% 4%) | |
| OKLCH | oklch(0.8142 0.0826 285.96) | color: oklch(0.8142 0.0826 285.96) | |
| Lab | lab(77.88 12.97 -28.9) | color: lab(77.88 12.97 -28.9) | |
| LCH | lch(77.88 31.68 294.17) | color: lch(77.88 31.68 294.17) |
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)
#BCBCE8 — rgb(188, 188, 232)
Deuteranopia (Green-blind)
#BCBCE4 — rgb(188, 188, 228)
Tritanopia (Blue-blind)
#BDDCDA — rgb(189, 220, 218)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(242, 77%, 85%);
text
color: hsl(242, 77%, 85%);
border
border: 2px solid hsl(242, 77%, 85%);
gradient light
background: linear-gradient(to right, hsl(242, 77%, 100%), hsl(242, 77%, 85%));
gradient dark
background: linear-gradient(to right, hsl(242, 77%, 85%), hsl(242, 77%, 65%))
hex
background-color: #BDBBF6;
tailwind
bg-[hsl(242,77%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(242, 77%, 85%, 0.4);
css variable
--color-primary: hsl(242, 77%, 85%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(242, 77%, 85%)?
HEX: #BDBBF6 | RGB: rgb(189, 187, 246) | CMYK: 23%, 24%, 0%, 4% | HSV: 242°, 24%, 96%. Copy any format from the conversion table above.
What colors go well with #BDBBF6?
The complementary color is HSL(62, 77%, 85%). 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, 77%, 85%) in CSS?
As HSL: color: hsl(242, 77%, 85%); — As HEX: color: #BDBBF6; — As RGB: color: rgb(189, 187, 246); — Tailwind CSS: bg-[hsl(242,77%,85%)] — CSS variable: --color-primary: hsl(242, 77%, 85%);