HSL(202, 42%, 80%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(202,42%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(202, 42%, 80%) | color: hsl(202, 42%, 80%) | |
| HEX | #B7D2E1 | color: #B7D2E1 | |
| RGB | rgb(183, 210, 225) | color: rgb(183, 210, 225) | |
| CMYK | cmyk(19%, 7%, 0%, 12%) | — | |
| HSV | hsv(201, 19%, 88%) | — | |
| HWB | hwb(201 71% 12%) | color: hwb(201 71% 12%) | |
| OKLCH | oklch(0.8485 0.0357 232.13) | color: oklch(0.8485 0.0357 232.13) | |
| Lab | lab(82.7 -5.85 -10.41) | color: lab(82.7 -5.85 -10.41) | |
| LCH | lch(82.7 11.94 240.67) | color: lch(82.7 11.94 240.67) |
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)
#C3C3DD — rgb(195, 195, 221)
Deuteranopia (Green-blind)
#C1BFDD — rgb(193, 191, 221)
Tritanopia (Blue-blind)
#B8DBDA — rgb(184, 219, 218)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(202, 42%, 80%);
text
color: hsl(202, 42%, 80%);
border
border: 2px solid hsl(202, 42%, 80%);
gradient light
background: linear-gradient(to right, hsl(202, 42%, 100%), hsl(202, 42%, 80%));
gradient dark
background: linear-gradient(to right, hsl(202, 42%, 80%), hsl(202, 42%, 60%))
hex
background-color: #B7D2E1;
tailwind
bg-[hsl(202,42%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(202, 42%, 80%, 0.4);
css variable
--color-primary: hsl(202, 42%, 80%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(202, 42%, 80%)?
HEX: #B7D2E1 | RGB: rgb(183, 210, 225) | CMYK: 19%, 7%, 0%, 12% | HSV: 201°, 19%, 88%. Copy any format from the conversion table above.
What colors go well with #B7D2E1?
The complementary color is HSL(22, 42%, 80%). For a triadic harmony, use hues 202°, 322°, and 82°. For analogous combinations, try hues 172° and 232°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(202, 42%, 80%) in CSS?
As HSL: color: hsl(202, 42%, 80%); — As HEX: color: #B7D2E1; — As RGB: color: rgb(183, 210, 225); — Tailwind CSS: bg-[hsl(202,42%,80%)] — CSS variable: --color-primary: hsl(202, 42%, 80%);