HSL(237, 28%, 35%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,28%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 28%, 35%) | color: hsl(237, 28%, 35%) | |
| HEX | #404372 | color: #404372 | |
| RGB | rgb(64, 67, 114) | color: rgb(64, 67, 114) | |
| CMYK | cmyk(44%, 41%, 0%, 55%) | — | |
| HSV | hsv(236, 44%, 45%) | — | |
| HWB | hwb(236 25% 55%) | color: hwb(236 25% 55%) | |
| OKLCH | oklch(0.4029 0.0786 279.47) | color: oklch(0.4029 0.0786 279.47) | |
| Lab | lab(30.2 12 -27.52) | color: lab(30.2 12 -27.52) | |
| LCH | lch(30.2 30.02 293.56) | color: lch(30.2 30.02 293.56) |
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)
#414167 — rgb(65, 65, 103)
Deuteranopia (Green-blind)
#414164 — rgb(65, 65, 100)
Tritanopia (Blue-blind)
#405E5C — rgb(64, 94, 92)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 28%, 35%);
text
color: hsl(237, 28%, 35%);
border
border: 2px solid hsl(237, 28%, 35%);
gradient light
background: linear-gradient(to right, hsl(237, 28%, 55%), hsl(237, 28%, 35%));
gradient dark
background: linear-gradient(to right, hsl(237, 28%, 35%), hsl(237, 28%, 15%))
hex
background-color: #404372;
tailwind
bg-[hsl(237,28%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 28%, 35%, 0.4);
css variable
--color-primary: hsl(237, 28%, 35%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 28%, 35%)?
HEX: #404372 | RGB: rgb(64, 67, 114) | CMYK: 44%, 41%, 0%, 55% | HSV: 236°, 44%, 45%. Copy any format from the conversion table above.
What colors go well with #404372?
The complementary color is HSL(57, 28%, 35%). 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, 28%, 35%) in CSS?
As HSL: color: hsl(237, 28%, 35%); — As HEX: color: #404372; — As RGB: color: rgb(64, 67, 114); — Tailwind CSS: bg-[hsl(237,28%,35%)] — CSS variable: --color-primary: hsl(237, 28%, 35%);