HSL(195, 50%, 79%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(195,50%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(195, 50%, 79%) | color: hsl(195, 50%, 79%) | |
| HEX | #AFD7E4 | color: #AFD7E4 | |
| RGB | rgb(175, 215, 228) | color: rgb(175, 215, 228) | |
| CMYK | cmyk(23%, 6%, 0%, 11%) | — | |
| HSV | hsv(195, 23%, 89%) | — | |
| HWB | hwb(195 69% 11%) | color: hwb(195 69% 11%) | |
| OKLCH | oklch(0.8547 0.0457 219.56) | color: oklch(0.8547 0.0457 219.56) | |
| Lab | lab(83.61 -10.23 -10.71) | color: lab(83.61 -10.23 -10.71) | |
| LCH | lch(83.61 14.81 226.31) | color: lch(83.61 14.81 226.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)
#C0C1E1 — rgb(192, 193, 225)
Deuteranopia (Green-blind)
#BEBBE0 — rgb(190, 187, 224)
Tritanopia (Blue-blind)
#B1DEDE — rgb(177, 222, 222)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(195, 50%, 79%);
text
color: hsl(195, 50%, 79%);
border
border: 2px solid hsl(195, 50%, 79%);
gradient light
background: linear-gradient(to right, hsl(195, 50%, 99%), hsl(195, 50%, 79%));
gradient dark
background: linear-gradient(to right, hsl(195, 50%, 79%), hsl(195, 50%, 59%))
hex
background-color: #AFD7E4;
tailwind
bg-[hsl(195,50%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(195, 50%, 79%, 0.4);
css variable
--color-primary: hsl(195, 50%, 79%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(195, 50%, 79%)?
HEX: #AFD7E4 | RGB: rgb(175, 215, 228) | CMYK: 23%, 6%, 0%, 11% | HSV: 195°, 23%, 89%. Copy any format from the conversion table above.
What colors go well with #AFD7E4?
The complementary color is HSL(15, 50%, 79%). For a triadic harmony, use hues 195°, 315°, and 75°. For analogous combinations, try hues 165° and 225°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(195, 50%, 79%) in CSS?
As HSL: color: hsl(195, 50%, 79%); — As HEX: color: #AFD7E4; — As RGB: color: rgb(175, 215, 228); — Tailwind CSS: bg-[hsl(195,50%,79%)] — CSS variable: --color-primary: hsl(195, 50%, 79%);