HSL(233, 74%, 80%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,74%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 74%, 80%) | color: hsl(233, 74%, 80%) | |
| HEX | #A6AFF2 | color: #A6AFF2 | |
| RGB | rgb(166, 175, 242) | color: rgb(166, 175, 242) | |
| CMYK | cmyk(31%, 28%, 0%, 5%) | — | |
| HSV | hsv(233, 31%, 95%) | — | |
| HWB | hwb(233 66% 5%) | color: hwb(233 66% 5%) | |
| OKLCH | oklch(0.7717 0.0963 277.98) | color: oklch(0.7717 0.0963 277.98) | |
| Lab | lab(73.01 11.95 -34.39) | color: lab(73.01 11.95 -34.39) | |
| LCH | lch(73.01 36.41 289.16) | color: lch(73.01 36.41 289.16) |
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)
#AAAAE2 — rgb(170, 170, 226)
Deuteranopia (Green-blind)
#A9A9DE — rgb(169, 169, 222)
Tritanopia (Blue-blind)
#A6D5D2 — rgb(166, 213, 210)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 74%, 80%);
text
color: hsl(233, 74%, 80%);
border
border: 2px solid hsl(233, 74%, 80%);
gradient light
background: linear-gradient(to right, hsl(233, 74%, 100%), hsl(233, 74%, 80%));
gradient dark
background: linear-gradient(to right, hsl(233, 74%, 80%), hsl(233, 74%, 60%))
hex
background-color: #A6AFF2;
tailwind
bg-[hsl(233,74%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 74%, 80%, 0.4);
css variable
--color-primary: hsl(233, 74%, 80%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 74%, 80%)?
HEX: #A6AFF2 | RGB: rgb(166, 175, 242) | CMYK: 31%, 28%, 0%, 5% | HSV: 233°, 31%, 95%. Copy any format from the conversion table above.
What colors go well with #A6AFF2?
The complementary color is HSL(53, 74%, 80%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 74%, 80%) in CSS?
As HSL: color: hsl(233, 74%, 80%); — As HEX: color: #A6AFF2; — As RGB: color: rgb(166, 175, 242); — Tailwind CSS: bg-[hsl(233,74%,80%)] — CSS variable: --color-primary: hsl(233, 74%, 80%);