HSL(233, 27%, 32%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,27%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 27%, 32%) | color: hsl(233, 27%, 32%) | |
| HEX | #3C4168 | color: #3C4168 | |
| RGB | rgb(60, 65, 104) | color: rgb(60, 65, 104) | |
| CMYK | cmyk(42%, 38%, 0%, 59%) | — | |
| HSV | hsv(233, 42%, 41%) | — | |
| HWB | hwb(233 24% 59%) | color: hwb(233 24% 59%) | |
| OKLCH | oklch(0.3891 0.0664 277.27) | color: oklch(0.3891 0.0664 277.27) | |
| Lab | lab(28.75 8.95 -23.49) | color: lab(28.75 8.95 -23.49) | |
| LCH | lch(28.75 25.14 290.86) | color: lch(28.75 25.14 290.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: white
Color Blindness Simulation
Protanopia (Red-blind)
#3E3E5F — rgb(62, 62, 95)
Deuteranopia (Green-blind)
#3E3E5C — rgb(62, 62, 92)
Tritanopia (Blue-blind)
#3C5755 — rgb(60, 87, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 27%, 32%);
text
color: hsl(233, 27%, 32%);
border
border: 2px solid hsl(233, 27%, 32%);
gradient light
background: linear-gradient(to right, hsl(233, 27%, 52%), hsl(233, 27%, 32%));
gradient dark
background: linear-gradient(to right, hsl(233, 27%, 32%), hsl(233, 27%, 12%))
hex
background-color: #3C4168;
tailwind
bg-[hsl(233,27%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 27%, 32%, 0.4);
css variable
--color-primary: hsl(233, 27%, 32%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 27%, 32%)?
HEX: #3C4168 | RGB: rgb(60, 65, 104) | CMYK: 42%, 38%, 0%, 59% | HSV: 233°, 42%, 41%. Copy any format from the conversion table above.
What colors go well with #3C4168?
The complementary color is HSL(53, 27%, 32%). 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%, 32%) in CSS?
As HSL: color: hsl(233, 27%, 32%); — As HEX: color: #3C4168; — As RGB: color: rgb(60, 65, 104); — Tailwind CSS: bg-[hsl(233,27%,32%)] — CSS variable: --color-primary: hsl(233, 27%, 32%);