HSL(233, 27%, 56%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,27%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 27%, 56%) | color: hsl(233, 27%, 56%) | |
| HEX | #7178AD | color: #7178AD | |
| RGB | rgb(113, 120, 173) | color: rgb(113, 120, 173) | |
| CMYK | cmyk(35%, 31%, 0%, 32%) | — | |
| HSV | hsv(233, 35%, 68%) | — | |
| HWB | hwb(233 44% 32%) | color: hwb(233 44% 32%) | |
| OKLCH | oklch(0.5882 0.0815 277.8) | color: oklch(0.5882 0.0815 277.8) | |
| Lab | lab(51.79 10.39 -29.02) | color: lab(51.79 10.39 -29.02) | |
| LCH | lch(51.79 30.82 289.7) | color: lch(51.79 30.82 289.7) |
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)
#7474A0 — rgb(116, 116, 160)
Deuteranopia (Green-blind)
#74739D — rgb(116, 115, 157)
Tritanopia (Blue-blind)
#719694 — rgb(113, 150, 148)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 27%, 56%);
text
color: hsl(233, 27%, 56%);
border
border: 2px solid hsl(233, 27%, 56%);
gradient light
background: linear-gradient(to right, hsl(233, 27%, 76%), hsl(233, 27%, 56%));
gradient dark
background: linear-gradient(to right, hsl(233, 27%, 56%), hsl(233, 27%, 36%))
hex
background-color: #7178AD;
tailwind
bg-[hsl(233,27%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 27%, 56%, 0.4);
css variable
--color-primary: hsl(233, 27%, 56%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 27%, 56%)?
HEX: #7178AD | RGB: rgb(113, 120, 173) | CMYK: 35%, 31%, 0%, 32% | HSV: 233°, 35%, 68%. Copy any format from the conversion table above.
What colors go well with #7178AD?
The complementary color is HSL(53, 27%, 56%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 27%, 56%) in CSS?
As HSL: color: hsl(233, 27%, 56%); — As HEX: color: #7178AD; — As RGB: color: rgb(113, 120, 173); — Tailwind CSS: bg-[hsl(233,27%,56%)] — CSS variable: --color-primary: hsl(233, 27%, 56%);