HSL(228, 26%, 75%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(228,26%,75%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(228, 26%, 75%) | color: hsl(228, 26%, 75%) | |
| HEX | #AFB5D0 | color: #AFB5D0 | |
| RGB | rgb(175, 181, 208) | color: rgb(175, 181, 208) | |
| CMYK | cmyk(16%, 13%, 0%, 18%) | — | |
| HSV | hsv(229, 16%, 82%) | — | |
| HWB | hwb(229 69% 18%) | color: hwb(229 69% 18%) | |
| OKLCH | oklch(0.7771 0.039 275.55) | color: oklch(0.7771 0.039 275.55) | |
| Lab | lab(74.01 3.42 -14.31) | color: lab(74.01 3.42 -14.31) | |
| LCH | lch(74.01 14.71 283.44) | color: lch(74.01 14.71 283.44) |
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)
#B2B2C9 — rgb(178, 178, 201)
Deuteranopia (Green-blind)
#B1B1C8 — rgb(177, 177, 200)
Tritanopia (Blue-blind)
#AFC4C3 — rgb(175, 196, 195)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(228, 26%, 75%);
text
color: hsl(228, 26%, 75%);
border
border: 2px solid hsl(228, 26%, 75%);
gradient light
background: linear-gradient(to right, hsl(228, 26%, 95%), hsl(228, 26%, 75%));
gradient dark
background: linear-gradient(to right, hsl(228, 26%, 75%), hsl(228, 26%, 55%))
hex
background-color: #AFB5D0;
tailwind
bg-[hsl(228,26%,75%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(228, 26%, 75%, 0.4);
css variable
--color-primary: hsl(228, 26%, 75%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(228, 26%, 75%)?
HEX: #AFB5D0 | RGB: rgb(175, 181, 208) | CMYK: 16%, 13%, 0%, 18% | HSV: 229°, 16%, 82%. Copy any format from the conversion table above.
What colors go well with #AFB5D0?
The complementary color is HSL(48, 26%, 75%). For a triadic harmony, use hues 228°, 348°, and 108°. For analogous combinations, try hues 198° and 258°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(228, 26%, 75%) in CSS?
As HSL: color: hsl(228, 26%, 75%); — As HEX: color: #AFB5D0; — As RGB: color: rgb(175, 181, 208); — Tailwind CSS: bg-[hsl(228,26%,75%)] — CSS variable: --color-primary: hsl(228, 26%, 75%);