HSL(232, 58%, 26%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(232,58%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 58%, 26%) | color: hsl(232, 58%, 26%) | |
| HEX | #1C2669 | color: #1C2669 | |
| RGB | rgb(28, 38, 105) | color: rgb(28, 38, 105) | |
| CMYK | cmyk(73%, 64%, 0%, 59%) | — | |
| HSV | hsv(232, 73%, 41%) | — | |
| HWB | hwb(232 11% 59%) | color: hwb(232 11% 59%) | |
| OKLCH | oklch(0.3063 0.1169 271.21) | color: oklch(0.3063 0.1169 271.21) | |
| Lab | lab(18.6 20.66 -40.52) | color: lab(18.6 20.66 -40.52) | |
| LCH | lch(18.6 45.48 297.02) | color: lch(18.6 45.48 297.02) |
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)
#202059 — rgb(32, 32, 89)
Deuteranopia (Green-blind)
#201F55 — rgb(32, 31, 85)
Tritanopia (Blue-blind)
#1D4C49 — rgb(29, 76, 73)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 58%, 26%);
text
color: hsl(232, 58%, 26%);
border
border: 2px solid hsl(232, 58%, 26%);
gradient light
background: linear-gradient(to right, hsl(232, 58%, 46%), hsl(232, 58%, 26%));
gradient dark
background: linear-gradient(to right, hsl(232, 58%, 26%), hsl(232, 58%, 6%))
hex
background-color: #1C2669;
tailwind
bg-[hsl(232,58%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 58%, 26%, 0.4);
css variable
--color-primary: hsl(232, 58%, 26%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 58%, 26%)?
HEX: #1C2669 | RGB: rgb(28, 38, 105) | CMYK: 73%, 64%, 0%, 59% | HSV: 232°, 73%, 41%. Copy any format from the conversion table above.
What colors go well with #1C2669?
The complementary color is HSL(52, 58%, 26%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 58%, 26%) in CSS?
As HSL: color: hsl(232, 58%, 26%); — As HEX: color: #1C2669; — As RGB: color: rgb(28, 38, 105); — Tailwind CSS: bg-[hsl(232,58%,26%)] — CSS variable: --color-primary: hsl(232, 58%, 26%);