HSL(228, 15%, 58%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(228,15%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(228, 15%, 58%) | color: hsl(228, 15%, 58%) | |
| HEX | #848AA4 | color: #848AA4 | |
| RGB | rgb(132, 138, 164) | color: rgb(132, 138, 164) | |
| CMYK | cmyk(20%, 16%, 0%, 36%) | — | |
| HSV | hsv(229, 20%, 64%) | — | |
| HWB | hwb(229 51% 36%) | color: hwb(229 51% 36%) | |
| OKLCH | oklch(0.6375 0.0396 275) | color: oklch(0.6375 0.0396 275) | |
| Lab | lab(57.81 3.5 -14.48) | color: lab(57.81 3.5 -14.48) | |
| LCH | lch(57.81 14.9 283.59) | color: lch(57.81 14.9 283.59) |
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)
#87879E — rgb(135, 135, 158)
Deuteranopia (Green-blind)
#86869C — rgb(134, 134, 156)
Tritanopia (Blue-blind)
#849998 — rgb(132, 153, 152)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(228, 15%, 58%);
text
color: hsl(228, 15%, 58%);
border
border: 2px solid hsl(228, 15%, 58%);
gradient light
background: linear-gradient(to right, hsl(228, 15%, 78%), hsl(228, 15%, 58%));
gradient dark
background: linear-gradient(to right, hsl(228, 15%, 58%), hsl(228, 15%, 38%))
hex
background-color: #848AA4;
tailwind
bg-[hsl(228,15%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(228, 15%, 58%, 0.4);
css variable
--color-primary: hsl(228, 15%, 58%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(228, 15%, 58%)?
HEX: #848AA4 | RGB: rgb(132, 138, 164) | CMYK: 20%, 16%, 0%, 36% | HSV: 229°, 20%, 64%. Copy any format from the conversion table above.
What colors go well with #848AA4?
The complementary color is HSL(48, 15%, 58%). 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, 15%, 58%) in CSS?
As HSL: color: hsl(228, 15%, 58%); — As HEX: color: #848AA4; — As RGB: color: rgb(132, 138, 164); — Tailwind CSS: bg-[hsl(228,15%,58%)] — CSS variable: --color-primary: hsl(228, 15%, 58%);