HSL(222, 97%, 85%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(222,97%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 97%, 85%) | color: hsl(222, 97%, 85%) | |
| HEX | #B4CAFE | color: #B4CAFE | |
| RGB | rgb(180, 202, 254) | color: rgb(180, 202, 254) | |
| CMYK | cmyk(29%, 20%, 0%, 0%) | — | |
| HSV | hsv(222, 29%, 100%) | — | |
| HWB | hwb(222 71% 0%) | color: hwb(222 71% 0%) | |
| OKLCH | oklch(0.8405 0.077 266.86) | color: oklch(0.8405 0.077 266.86) | |
| Lab | lab(81.35 4.08 -27.92) | color: lab(81.35 4.08 -27.92) | |
| LCH | lch(81.35 28.22 278.31) | color: lch(81.35 28.22 278.31) |
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)
#BEBEF1 — rgb(190, 190, 241)
Deuteranopia (Green-blind)
#BCBBEE — rgb(188, 187, 238)
Tritanopia (Blue-blind)
#B5E7E5 — rgb(181, 231, 229)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 97%, 85%);
text
color: hsl(222, 97%, 85%);
border
border: 2px solid hsl(222, 97%, 85%);
gradient light
background: linear-gradient(to right, hsl(222, 97%, 100%), hsl(222, 97%, 85%));
gradient dark
background: linear-gradient(to right, hsl(222, 97%, 85%), hsl(222, 97%, 65%))
hex
background-color: #B4CAFE;
tailwind
bg-[hsl(222,97%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 97%, 85%, 0.4);
css variable
--color-primary: hsl(222, 97%, 85%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 97%, 85%)?
HEX: #B4CAFE | RGB: rgb(180, 202, 254) | CMYK: 29%, 20%, 0%, 0% | HSV: 222°, 29%, 100%. Copy any format from the conversion table above.
What colors go well with #B4CAFE?
The complementary color is HSL(42, 97%, 85%). 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, 97%, 85%) in CSS?
As HSL: color: hsl(222, 97%, 85%); — As HEX: color: #B4CAFE; — As RGB: color: rgb(180, 202, 254); — Tailwind CSS: bg-[hsl(222,97%,85%)] — CSS variable: --color-primary: hsl(222, 97%, 85%);