HSL(242, 65%, 83%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(242,65%,83%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(242, 65%, 83%) | color: hsl(242, 65%, 83%) | |
| HEX | #B9B7F0 | color: #B9B7F0 | |
| RGB | rgb(185, 183, 240) | color: rgb(185, 183, 240) | |
| CMYK | cmyk(23%, 24%, 0%, 6%) | — | |
| HSV | hsv(242, 24%, 94%) | — | |
| HWB | hwb(242 71% 6%) | color: hwb(242 71% 6%) | |
| OKLCH | oklch(0.8009 0.0802 286.04) | color: oklch(0.8009 0.0802 286.04) | |
| Lab | lab(76.36 12.58 -28.03) | color: lab(76.36 12.58 -28.03) | |
| LCH | lch(76.36 30.72 294.17) | color: lch(76.36 30.72 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)
#B8B8E2 — rgb(184, 184, 226)
Deuteranopia (Green-blind)
#B8B8DF — rgb(184, 184, 223)
Tritanopia (Blue-blind)
#B9D7D5 — rgb(185, 215, 213)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(242, 65%, 83%);
text
color: hsl(242, 65%, 83%);
border
border: 2px solid hsl(242, 65%, 83%);
gradient light
background: linear-gradient(to right, hsl(242, 65%, 100%), hsl(242, 65%, 83%));
gradient dark
background: linear-gradient(to right, hsl(242, 65%, 83%), hsl(242, 65%, 63%))
hex
background-color: #B9B7F0;
tailwind
bg-[hsl(242,65%,83%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(242, 65%, 83%, 0.4);
css variable
--color-primary: hsl(242, 65%, 83%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(242, 65%, 83%)?
HEX: #B9B7F0 | RGB: rgb(185, 183, 240) | CMYK: 23%, 24%, 0%, 6% | HSV: 242°, 24%, 94%. Copy any format from the conversion table above.
What colors go well with #B9B7F0?
The complementary color is HSL(62, 65%, 83%). 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, 65%, 83%) in CSS?
As HSL: color: hsl(242, 65%, 83%); — As HEX: color: #B9B7F0; — As RGB: color: rgb(185, 183, 240); — Tailwind CSS: bg-[hsl(242,65%,83%)] — CSS variable: --color-primary: hsl(242, 65%, 83%);