HSL(237, 46%, 32%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,46%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 46%, 32%) | color: hsl(237, 46%, 32%) | |
| HEX | #2C3077 | color: #2C3077 | |
| RGB | rgb(44, 48, 119) | color: rgb(44, 48, 119) | |
| CMYK | cmyk(63%, 60%, 0%, 53%) | — | |
| HSV | hsv(237, 63%, 47%) | — | |
| HWB | hwb(237 17% 53%) | color: hwb(237 17% 53%) | |
| OKLCH | oklch(0.3501 0.1194 275.9) | color: oklch(0.3501 0.1194 275.9) | |
| Lab | lab(23.61 21.78 -41.34) | color: lab(23.61 21.78 -41.34) | |
| LCH | lch(23.61 46.73 297.78) | color: lch(23.61 46.73 297.78) |
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)
#2E2E66 — rgb(46, 46, 102)
Deuteranopia (Green-blind)
#2E2D62 — rgb(46, 45, 98)
Tritanopia (Blue-blind)
#2C5855 — rgb(44, 88, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 46%, 32%);
text
color: hsl(237, 46%, 32%);
border
border: 2px solid hsl(237, 46%, 32%);
gradient light
background: linear-gradient(to right, hsl(237, 46%, 52%), hsl(237, 46%, 32%));
gradient dark
background: linear-gradient(to right, hsl(237, 46%, 32%), hsl(237, 46%, 12%))
hex
background-color: #2C3077;
tailwind
bg-[hsl(237,46%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 46%, 32%, 0.4);
css variable
--color-primary: hsl(237, 46%, 32%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 46%, 32%)?
HEX: #2C3077 | RGB: rgb(44, 48, 119) | CMYK: 63%, 60%, 0%, 53% | HSV: 237°, 63%, 47%. Copy any format from the conversion table above.
What colors go well with #2C3077?
The complementary color is HSL(57, 46%, 32%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 46%, 32%) in CSS?
As HSL: color: hsl(237, 46%, 32%); — As HEX: color: #2C3077; — As RGB: color: rgb(44, 48, 119); — Tailwind CSS: bg-[hsl(237,46%,32%)] — CSS variable: --color-primary: hsl(237, 46%, 32%);