HSL(226, 38%, 55%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(226,38%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(226, 38%, 55%) | color: hsl(226, 38%, 55%) | |
| HEX | #6175B8 | color: #6175B8 | |
| RGB | rgb(97, 117, 184) | color: rgb(97, 117, 184) | |
| CMYK | cmyk(47%, 36%, 0%, 28%) | — | |
| HSV | hsv(226, 47%, 72%) | — | |
| HWB | hwb(226 38% 28%) | color: hwb(226 38% 28%) | |
| OKLCH | oklch(0.576 0.1062 270.21) | color: oklch(0.576 0.1062 270.21) | |
| Lab | lab(50.36 11.05 -37.69) | color: lab(50.36 11.05 -37.69) | |
| LCH | lch(50.36 39.28 286.34) | color: lch(50.36 39.28 286.34) |
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)
#6A6AA8 — rgb(106, 106, 168)
Deuteranopia (Green-blind)
#6967A4 — rgb(105, 103, 164)
Tritanopia (Blue-blind)
#629B98 — rgb(98, 155, 152)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(226, 38%, 55%);
text
color: hsl(226, 38%, 55%);
border
border: 2px solid hsl(226, 38%, 55%);
gradient light
background: linear-gradient(to right, hsl(226, 38%, 75%), hsl(226, 38%, 55%));
gradient dark
background: linear-gradient(to right, hsl(226, 38%, 55%), hsl(226, 38%, 35%))
hex
background-color: #6175B8;
tailwind
bg-[hsl(226,38%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(226, 38%, 55%, 0.4);
css variable
--color-primary: hsl(226, 38%, 55%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(226, 38%, 55%)?
HEX: #6175B8 | RGB: rgb(97, 117, 184) | CMYK: 47%, 36%, 0%, 28% | HSV: 226°, 47%, 72%. Copy any format from the conversion table above.
What colors go well with #6175B8?
The complementary color is HSL(46, 38%, 55%). 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, 38%, 55%) in CSS?
As HSL: color: hsl(226, 38%, 55%); — As HEX: color: #6175B8; — As RGB: color: rgb(97, 117, 184); — Tailwind CSS: bg-[hsl(226,38%,55%)] — CSS variable: --color-primary: hsl(226, 38%, 55%);