HSL(229, 34%, 59%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(229,34%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 34%, 59%) | color: hsl(229, 34%, 59%) | |
| HEX | #7380BA | color: #7380BA | |
| RGB | rgb(115, 128, 186) | color: rgb(115, 128, 186) | |
| CMYK | cmyk(38%, 31%, 0%, 27%) | — | |
| HSV | hsv(229, 38%, 73%) | — | |
| HWB | hwb(229 45% 27%) | color: hwb(229 45% 27%) | |
| OKLCH | oklch(0.6129 0.0895 273.81) | color: oklch(0.6129 0.0895 273.81) | |
| Lab | lab(54.69 9.8 -31.98) | color: lab(54.69 9.8 -31.98) | |
| LCH | lch(54.69 33.45 287.04) | color: lch(54.69 33.45 287.04) |
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)
#7979AC — rgb(121, 121, 172)
Deuteranopia (Green-blind)
#7877A9 — rgb(120, 119, 169)
Tritanopia (Blue-blind)
#74A19E — rgb(116, 161, 158)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 34%, 59%);
text
color: hsl(229, 34%, 59%);
border
border: 2px solid hsl(229, 34%, 59%);
gradient light
background: linear-gradient(to right, hsl(229, 34%, 79%), hsl(229, 34%, 59%));
gradient dark
background: linear-gradient(to right, hsl(229, 34%, 59%), hsl(229, 34%, 39%))
hex
background-color: #7380BA;
tailwind
bg-[hsl(229,34%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 34%, 59%, 0.4);
css variable
--color-primary: hsl(229, 34%, 59%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 34%, 59%)?
HEX: #7380BA | RGB: rgb(115, 128, 186) | CMYK: 38%, 31%, 0%, 27% | HSV: 229°, 38%, 73%. Copy any format from the conversion table above.
What colors go well with #7380BA?
The complementary color is HSL(49, 34%, 59%). For a triadic harmony, use hues 229°, 349°, and 109°. For analogous combinations, try hues 199° and 259°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(229, 34%, 59%) in CSS?
As HSL: color: hsl(229, 34%, 59%); — As HEX: color: #7380BA; — As RGB: color: rgb(115, 128, 186); — Tailwind CSS: bg-[hsl(229,34%,59%)] — CSS variable: --color-primary: hsl(229, 34%, 59%);