HSL(237, 52%, 29%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,52%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 52%, 29%) | color: hsl(237, 52%, 29%) | |
| HEX | #232770 | color: #232770 | |
| RGB | rgb(35, 39, 112) | color: rgb(35, 39, 112) | |
| CMYK | cmyk(69%, 65%, 0%, 56%) | — | |
| HSV | hsv(237, 69%, 44%) | — | |
| HWB | hwb(237 14% 56%) | color: hwb(237 14% 56%) | |
| OKLCH | oklch(0.3196 0.1238 274.54) | color: oklch(0.3196 0.1238 274.54) | |
| Lab | lab(19.95 23.77 -42.82) | color: lab(19.95 23.77 -42.82) | |
| LCH | lch(19.95 48.98 299.04) | color: lch(19.95 48.98 299.04) |
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)
#25255E — rgb(37, 37, 94)
Deuteranopia (Green-blind)
#25245A — rgb(37, 36, 90)
Tritanopia (Blue-blind)
#23504D — rgb(35, 80, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 52%, 29%);
text
color: hsl(237, 52%, 29%);
border
border: 2px solid hsl(237, 52%, 29%);
gradient light
background: linear-gradient(to right, hsl(237, 52%, 49%), hsl(237, 52%, 29%));
gradient dark
background: linear-gradient(to right, hsl(237, 52%, 29%), hsl(237, 52%, 9%))
hex
background-color: #232770;
tailwind
bg-[hsl(237,52%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 52%, 29%, 0.4);
css variable
--color-primary: hsl(237, 52%, 29%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 52%, 29%)?
HEX: #232770 | RGB: rgb(35, 39, 112) | CMYK: 69%, 65%, 0%, 56% | HSV: 237°, 69%, 44%. Copy any format from the conversion table above.
What colors go well with #232770?
The complementary color is HSL(57, 52%, 29%). 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, 52%, 29%) in CSS?
As HSL: color: hsl(237, 52%, 29%); — As HEX: color: #232770; — As RGB: color: rgb(35, 39, 112); — Tailwind CSS: bg-[hsl(237,52%,29%)] — CSS variable: --color-primary: hsl(237, 52%, 29%);