HSL(226, 80%, 61%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(226,80%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(226, 80%, 61%) | color: hsl(226, 80%, 61%) | |
| HEX | #4C71EB | color: #4C71EB | |
| RGB | rgb(76, 113, 235) | color: rgb(76, 113, 235) | |
| CMYK | cmyk(68%, 52%, 0%, 8%) | — | |
| HSV | hsv(226, 68%, 92%) | — | |
| HWB | hwb(226 29% 8%) | color: hwb(226 29% 8%) | |
| OKLCH | oklch(0.588 0.1887 267.56) | color: oklch(0.588 0.1887 267.56) | |
| Lab | lab(51.09 26.32 -65.6) | color: lab(51.09 26.32 -65.6) | |
| LCH | lch(51.09 70.68 291.86) | color: lch(51.09 70.68 291.86) |
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)
#5C5CCD — rgb(92, 92, 205)
Deuteranopia (Green-blind)
#5A57C6 — rgb(90, 87, 198)
Tritanopia (Blue-blind)
#4EB6B1 — rgb(78, 182, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(226, 80%, 61%);
text
color: hsl(226, 80%, 61%);
border
border: 2px solid hsl(226, 80%, 61%);
gradient light
background: linear-gradient(to right, hsl(226, 80%, 81%), hsl(226, 80%, 61%));
gradient dark
background: linear-gradient(to right, hsl(226, 80%, 61%), hsl(226, 80%, 41%))
hex
background-color: #4C71EB;
tailwind
bg-[hsl(226,80%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(226, 80%, 61%, 0.4);
css variable
--color-primary: hsl(226, 80%, 61%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(226, 80%, 61%)?
HEX: #4C71EB | RGB: rgb(76, 113, 235) | CMYK: 68%, 52%, 0%, 8% | HSV: 226°, 68%, 92%. Copy any format from the conversion table above.
What colors go well with #4C71EB?
The complementary color is HSL(46, 80%, 61%). 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, 80%, 61%) in CSS?
As HSL: color: hsl(226, 80%, 61%); — As HEX: color: #4C71EB; — As RGB: color: rgb(76, 113, 235); — Tailwind CSS: bg-[hsl(226,80%,61%)] — CSS variable: --color-primary: hsl(226, 80%, 61%);