HSL(226, 25%, 56%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(226,25%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(226, 25%, 56%) | color: hsl(226, 25%, 56%) | |
| HEX | #7380AB | color: #7380AB | |
| RGB | rgb(115, 128, 171) | color: rgb(115, 128, 171) | |
| CMYK | cmyk(33%, 25%, 0%, 33%) | — | |
| HSV | hsv(226, 33%, 67%) | — | |
| HWB | hwb(226 45% 33%) | color: hwb(226 45% 33%) | |
| OKLCH | oklch(0.6059 0.0674 271.28) | color: oklch(0.6059 0.0674 271.28) | |
| Lab | lab(54.05 5.69 -24.35) | color: lab(54.05 5.69 -24.35) | |
| LCH | lch(54.05 25.01 283.15) | color: lch(54.05 25.01 283.15) |
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)
#7979A1 — rgb(121, 121, 161)
Deuteranopia (Green-blind)
#78779E — rgb(120, 119, 158)
Tritanopia (Blue-blind)
#749897 — rgb(116, 152, 151)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(226, 25%, 56%);
text
color: hsl(226, 25%, 56%);
border
border: 2px solid hsl(226, 25%, 56%);
gradient light
background: linear-gradient(to right, hsl(226, 25%, 76%), hsl(226, 25%, 56%));
gradient dark
background: linear-gradient(to right, hsl(226, 25%, 56%), hsl(226, 25%, 36%))
hex
background-color: #7380AB;
tailwind
bg-[hsl(226,25%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(226, 25%, 56%, 0.4);
css variable
--color-primary: hsl(226, 25%, 56%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(226, 25%, 56%)?
HEX: #7380AB | RGB: rgb(115, 128, 171) | CMYK: 33%, 25%, 0%, 33% | HSV: 226°, 33%, 67%. Copy any format from the conversion table above.
What colors go well with #7380AB?
The complementary color is HSL(46, 25%, 56%). For a triadic harmony, use hues 226°, 346°, and 106°. For analogous combinations, try hues 196° and 256°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(226, 25%, 56%) in CSS?
As HSL: color: hsl(226, 25%, 56%); — As HEX: color: #7380AB; — As RGB: color: rgb(115, 128, 171); — Tailwind CSS: bg-[hsl(226,25%,56%)] — CSS variable: --color-primary: hsl(226, 25%, 56%);