HSL(218, 68%, 78%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(218,68%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(218, 68%, 78%) | color: hsl(218, 68%, 78%) | |
| HEX | #A1BDED | color: #A1BDED | |
| RGB | rgb(161, 189, 237) | color: rgb(161, 189, 237) | |
| CMYK | cmyk(32%, 20%, 0%, 7%) | — | |
| HSV | hsv(218, 32%, 93%) | — | |
| HWB | hwb(218 63% 7%) | color: hwb(218 63% 7%) | |
| OKLCH | oklch(0.7945 0.0752 261.1) | color: oklch(0.7945 0.0752 261.1) | |
| Lab | lab(76.12 1.59 -26.92) | color: lab(76.12 1.59 -26.92) | |
| LCH | lch(76.12 26.97 273.38) | color: lch(76.12 26.97 273.38) |
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)
#ADADE1 — rgb(173, 173, 225)
Deuteranopia (Green-blind)
#ACA9DF — rgb(172, 169, 223)
Tritanopia (Blue-blind)
#A2D8D6 — rgb(162, 216, 214)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(218, 68%, 78%);
text
color: hsl(218, 68%, 78%);
border
border: 2px solid hsl(218, 68%, 78%);
gradient light
background: linear-gradient(to right, hsl(218, 68%, 98%), hsl(218, 68%, 78%));
gradient dark
background: linear-gradient(to right, hsl(218, 68%, 78%), hsl(218, 68%, 58%))
hex
background-color: #A1BDED;
tailwind
bg-[hsl(218,68%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(218, 68%, 78%, 0.4);
css variable
--color-primary: hsl(218, 68%, 78%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(218, 68%, 78%)?
HEX: #A1BDED | RGB: rgb(161, 189, 237) | CMYK: 32%, 20%, 0%, 7% | HSV: 218°, 32%, 93%. Copy any format from the conversion table above.
What colors go well with #A1BDED?
The complementary color is HSL(38, 68%, 78%). For a triadic harmony, use hues 218°, 338°, and 98°. For analogous combinations, try hues 188° and 248°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(218, 68%, 78%) in CSS?
As HSL: color: hsl(218, 68%, 78%); — As HEX: color: #A1BDED; — As RGB: color: rgb(161, 189, 237); — Tailwind CSS: bg-[hsl(218,68%,78%)] — CSS variable: --color-primary: hsl(218, 68%, 78%);