HSL(241, 53%, 35%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(241,53%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(241, 53%, 35%) | color: hsl(241, 53%, 35%) | |
| HEX | #2C2A89 | color: #2C2A89 | |
| RGB | rgb(44, 42, 137) | color: rgb(44, 42, 137) | |
| CMYK | cmyk(68%, 69%, 0%, 46%) | — | |
| HSV | hsv(241, 69%, 54%) | — | |
| HWB | hwb(241 17% 46%) | color: hwb(241 17% 46%) | |
| OKLCH | oklch(0.3554 0.1527 276.22) | color: oklch(0.3554 0.1527 276.22) | |
| Lab | lab(23.66 32.25 -52.59) | color: lab(23.66 32.25 -52.59) | |
| LCH | lch(23.66 61.69 301.52) | color: lch(23.66 61.69 301.52) |
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)
#2B2B72 — rgb(43, 43, 114)
Deuteranopia (Green-blind)
#2B2B6D — rgb(43, 43, 109)
Tritanopia (Blue-blind)
#2C605C — rgb(44, 96, 92)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(241, 53%, 35%);
text
color: hsl(241, 53%, 35%);
border
border: 2px solid hsl(241, 53%, 35%);
gradient light
background: linear-gradient(to right, hsl(241, 53%, 55%), hsl(241, 53%, 35%));
gradient dark
background: linear-gradient(to right, hsl(241, 53%, 35%), hsl(241, 53%, 15%))
hex
background-color: #2C2A89;
tailwind
bg-[hsl(241,53%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(241, 53%, 35%, 0.4);
css variable
--color-primary: hsl(241, 53%, 35%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(241, 53%, 35%)?
HEX: #2C2A89 | RGB: rgb(44, 42, 137) | CMYK: 68%, 69%, 0%, 46% | HSV: 241°, 69%, 54%. Copy any format from the conversion table above.
What colors go well with #2C2A89?
The complementary color is HSL(61, 53%, 35%). For a triadic harmony, use hues 241°, 1°, and 121°. For analogous combinations, try hues 211° and 271°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(241, 53%, 35%) in CSS?
As HSL: color: hsl(241, 53%, 35%); — As HEX: color: #2C2A89; — As RGB: color: rgb(44, 42, 137); — Tailwind CSS: bg-[hsl(241,53%,35%)] — CSS variable: --color-primary: hsl(241, 53%, 35%);