HSL(226, 32%, 56%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(226,32%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(226, 32%, 56%) | color: hsl(226, 32%, 56%) | |
| HEX | #6B7CB3 | color: #6B7CB3 | |
| RGB | rgb(107, 124, 179) | color: rgb(107, 124, 179) | |
| CMYK | cmyk(40%, 31%, 0%, 30%) | — | |
| HSV | hsv(226, 40%, 70%) | — | |
| HWB | hwb(226 42% 30%) | color: hwb(226 42% 30%) | |
| OKLCH | oklch(0.5952 0.0868 270.47) | color: oklch(0.5952 0.0868 270.47) | |
| Lab | lab(52.72 7.98 -31.06) | color: lab(52.72 7.98 -31.06) | |
| LCH | lch(52.72 32.07 284.41) | color: lch(52.72 32.07 284.41) |
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)
#7273A6 — rgb(114, 115, 166)
Deuteranopia (Green-blind)
#7170A3 — rgb(113, 112, 163)
Tritanopia (Blue-blind)
#6C9B99 — rgb(108, 155, 153)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(226, 32%, 56%);
text
color: hsl(226, 32%, 56%);
border
border: 2px solid hsl(226, 32%, 56%);
gradient light
background: linear-gradient(to right, hsl(226, 32%, 76%), hsl(226, 32%, 56%));
gradient dark
background: linear-gradient(to right, hsl(226, 32%, 56%), hsl(226, 32%, 36%))
hex
background-color: #6B7CB3;
tailwind
bg-[hsl(226,32%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(226, 32%, 56%, 0.4);
css variable
--color-primary: hsl(226, 32%, 56%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(226, 32%, 56%)?
HEX: #6B7CB3 | RGB: rgb(107, 124, 179) | CMYK: 40%, 31%, 0%, 30% | HSV: 226°, 40%, 70%. Copy any format from the conversion table above.
What colors go well with #6B7CB3?
The complementary color is HSL(46, 32%, 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, 32%, 56%) in CSS?
As HSL: color: hsl(226, 32%, 56%); — As HEX: color: #6B7CB3; — As RGB: color: rgb(107, 124, 179); — Tailwind CSS: bg-[hsl(226,32%,56%)] — CSS variable: --color-primary: hsl(226, 32%, 56%);