HSL(223, 40%, 74%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(223,40%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(223, 40%, 74%) | color: hsl(223, 40%, 74%) | |
| HEX | #A2B1D7 | color: #A2B1D7 | |
| RGB | rgb(162, 177, 215) | color: rgb(162, 177, 215) | |
| CMYK | cmyk(25%, 18%, 0%, 16%) | — | |
| HSV | hsv(223, 25%, 84%) | — | |
| HWB | hwb(223 63% 16%) | color: hwb(223 63% 16%) | |
| OKLCH | oklch(0.7618 0.0572 268.13) | color: oklch(0.7618 0.0572 268.13) | |
| Lab | lab(72.25 3.11 -20.88) | color: lab(72.25 3.11 -20.88) | |
| LCH | lch(72.25 21.11 278.47) | color: lch(72.25 21.11 278.47) |
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)
#A8A9CE — rgb(168, 169, 206)
Deuteranopia (Green-blind)
#A8A7CC — rgb(168, 167, 204)
Tritanopia (Blue-blind)
#A3C7C5 — rgb(163, 199, 197)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(223, 40%, 74%);
text
color: hsl(223, 40%, 74%);
border
border: 2px solid hsl(223, 40%, 74%);
gradient light
background: linear-gradient(to right, hsl(223, 40%, 94%), hsl(223, 40%, 74%));
gradient dark
background: linear-gradient(to right, hsl(223, 40%, 74%), hsl(223, 40%, 54%))
hex
background-color: #A2B1D7;
tailwind
bg-[hsl(223,40%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(223, 40%, 74%, 0.4);
css variable
--color-primary: hsl(223, 40%, 74%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(223, 40%, 74%)?
HEX: #A2B1D7 | RGB: rgb(162, 177, 215) | CMYK: 25%, 18%, 0%, 16% | HSV: 223°, 25%, 84%. Copy any format from the conversion table above.
What colors go well with #A2B1D7?
The complementary color is HSL(43, 40%, 74%). For a triadic harmony, use hues 223°, 343°, and 103°. For analogous combinations, try hues 193° and 253°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(223, 40%, 74%) in CSS?
As HSL: color: hsl(223, 40%, 74%); — As HEX: color: #A2B1D7; — As RGB: color: rgb(162, 177, 215); — Tailwind CSS: bg-[hsl(223,40%,74%)] — CSS variable: --color-primary: hsl(223, 40%, 74%);