HSL(222, 71%, 83%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(222,71%,83%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 71%, 83%) | color: hsl(222, 71%, 83%) | |
| HEX | #B5C7F2 | color: #B5C7F2 | |
| RGB | rgb(181, 199, 242) | color: rgb(181, 199, 242) | |
| CMYK | cmyk(25%, 18%, 0%, 5%) | — | |
| HSV | hsv(222, 25%, 95%) | — | |
| HWB | hwb(222 71% 5%) | color: hwb(222 71% 5%) | |
| OKLCH | oklch(0.8305 0.0637 267.19) | color: oklch(0.8305 0.0637 267.19) | |
| Lab | lab(80.22 3.16 -23.23) | color: lab(80.22 3.16 -23.23) | |
| LCH | lch(80.22 23.44 277.75) | color: lch(80.22 23.44 277.75) |
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)
#BDBDE8 — rgb(189, 189, 232)
Deuteranopia (Green-blind)
#BCBAE5 — rgb(188, 186, 229)
Tritanopia (Blue-blind)
#B6DFDE — rgb(182, 223, 222)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 71%, 83%);
text
color: hsl(222, 71%, 83%);
border
border: 2px solid hsl(222, 71%, 83%);
gradient light
background: linear-gradient(to right, hsl(222, 71%, 100%), hsl(222, 71%, 83%));
gradient dark
background: linear-gradient(to right, hsl(222, 71%, 83%), hsl(222, 71%, 63%))
hex
background-color: #B5C7F2;
tailwind
bg-[hsl(222,71%,83%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 71%, 83%, 0.4);
css variable
--color-primary: hsl(222, 71%, 83%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 71%, 83%)?
HEX: #B5C7F2 | RGB: rgb(181, 199, 242) | CMYK: 25%, 18%, 0%, 5% | HSV: 222°, 25%, 95%. Copy any format from the conversion table above.
What colors go well with #B5C7F2?
The complementary color is HSL(42, 71%, 83%). For a triadic harmony, use hues 222°, 342°, and 102°. For analogous combinations, try hues 192° and 252°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(222, 71%, 83%) in CSS?
As HSL: color: hsl(222, 71%, 83%); — As HEX: color: #B5C7F2; — As RGB: color: rgb(181, 199, 242); — Tailwind CSS: bg-[hsl(222,71%,83%)] — CSS variable: --color-primary: hsl(222, 71%, 83%);