HSL(232, 58%, 24%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(232,58%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 58%, 24%) | color: hsl(232, 58%, 24%) | |
| HEX | #1A2361 | color: #1A2361 | |
| RGB | rgb(26, 35, 97) | color: rgb(26, 35, 97) | |
| CMYK | cmyk(73%, 64%, 0%, 62%) | — | |
| HSV | hsv(232, 73%, 38%) | — | |
| HWB | hwb(232 10% 62%) | color: hwb(232 10% 62%) | |
| OKLCH | oklch(0.2913 0.1096 271.49) | color: oklch(0.2913 0.1096 271.49) | |
| Lab | lab(16.91 19.31 -38.01) | color: lab(16.91 19.31 -38.01) | |
| LCH | lch(16.91 42.63 296.93) | color: lch(16.91 42.63 296.93) |
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)
#1E1E52 — rgb(30, 30, 82)
Deuteranopia (Green-blind)
#1D1D4E — rgb(29, 29, 78)
Tritanopia (Blue-blind)
#1A4644 — rgb(26, 70, 68)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 58%, 24%);
text
color: hsl(232, 58%, 24%);
border
border: 2px solid hsl(232, 58%, 24%);
gradient light
background: linear-gradient(to right, hsl(232, 58%, 44%), hsl(232, 58%, 24%));
gradient dark
background: linear-gradient(to right, hsl(232, 58%, 24%), hsl(232, 58%, 4%))
hex
background-color: #1A2361;
tailwind
bg-[hsl(232,58%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 58%, 24%, 0.4);
css variable
--color-primary: hsl(232, 58%, 24%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 58%, 24%)?
HEX: #1A2361 | RGB: rgb(26, 35, 97) | CMYK: 73%, 64%, 0%, 62% | HSV: 232°, 73%, 38%. Copy any format from the conversion table above.
What colors go well with #1A2361?
The complementary color is HSL(52, 58%, 24%). 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%, 24%) in CSS?
As HSL: color: hsl(232, 58%, 24%); — As HEX: color: #1A2361; — As RGB: color: rgb(26, 35, 97); — Tailwind CSS: bg-[hsl(232,58%,24%)] — CSS variable: --color-primary: hsl(232, 58%, 24%);