HSL(237, 37%, 32%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,37%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 37%, 32%) | color: hsl(237, 37%, 32%) | |
| HEX | #333670 | color: #333670 | |
| RGB | rgb(51, 54, 112) | color: rgb(51, 54, 112) | |
| CMYK | cmyk(54%, 52%, 0%, 56%) | — | |
| HSV | hsv(237, 54%, 44%) | — | |
| HWB | hwb(237 20% 56%) | color: hwb(237 20% 56%) | |
| OKLCH | oklch(0.3625 0.0982 278.07) | color: oklch(0.3625 0.0982 278.07) | |
| Lab | lab(25.3 16.66 -34.12) | color: lab(25.3 16.66 -34.12) | |
| LCH | lch(25.3 37.97 296.03) | color: lch(25.3 37.97 296.03) |
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)
#343462 — rgb(52, 52, 98)
Deuteranopia (Green-blind)
#34345F — rgb(52, 52, 95)
Tritanopia (Blue-blind)
#335754 — rgb(51, 87, 84)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 37%, 32%);
text
color: hsl(237, 37%, 32%);
border
border: 2px solid hsl(237, 37%, 32%);
gradient light
background: linear-gradient(to right, hsl(237, 37%, 52%), hsl(237, 37%, 32%));
gradient dark
background: linear-gradient(to right, hsl(237, 37%, 32%), hsl(237, 37%, 12%))
hex
background-color: #333670;
tailwind
bg-[hsl(237,37%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 37%, 32%, 0.4);
css variable
--color-primary: hsl(237, 37%, 32%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 37%, 32%)?
HEX: #333670 | RGB: rgb(51, 54, 112) | CMYK: 54%, 52%, 0%, 56% | HSV: 237°, 54%, 44%. Copy any format from the conversion table above.
What colors go well with #333670?
The complementary color is HSL(57, 37%, 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, 37%, 32%) in CSS?
As HSL: color: hsl(237, 37%, 32%); — As HEX: color: #333670; — As RGB: color: rgb(51, 54, 112); — Tailwind CSS: bg-[hsl(237,37%,32%)] — CSS variable: --color-primary: hsl(237, 37%, 32%);