HSL(233, 58%, 24%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,58%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 58%, 24%) | color: hsl(233, 58%, 24%) | |
| HEX | #1A2261 | color: #1A2261 | |
| RGB | rgb(26, 34, 97) | color: rgb(26, 34, 97) | |
| CMYK | cmyk(73%, 65%, 0%, 62%) | — | |
| HSV | hsv(233, 73%, 38%) | — | |
| HWB | hwb(233 10% 62%) | color: hwb(233 10% 62%) | |
| OKLCH | oklch(0.2892 0.111 271.93) | color: oklch(0.2892 0.111 271.93) | |
| Lab | lab(16.63 20.03 -38.47) | color: lab(16.63 20.03 -38.47) | |
| LCH | lch(16.63 43.37 297.5) | color: lch(16.63 43.37 297.5) |
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)
#1D1E52 — rgb(29, 30, 82)
Deuteranopia (Green-blind)
#1D1C4E — rgb(29, 28, 78)
Tritanopia (Blue-blind)
#1A4643 — rgb(26, 70, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 58%, 24%);
text
color: hsl(233, 58%, 24%);
border
border: 2px solid hsl(233, 58%, 24%);
gradient light
background: linear-gradient(to right, hsl(233, 58%, 44%), hsl(233, 58%, 24%));
gradient dark
background: linear-gradient(to right, hsl(233, 58%, 24%), hsl(233, 58%, 4%))
hex
background-color: #1A2261;
tailwind
bg-[hsl(233,58%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 58%, 24%, 0.4);
css variable
--color-primary: hsl(233, 58%, 24%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 58%, 24%)?
HEX: #1A2261 | RGB: rgb(26, 34, 97) | CMYK: 73%, 65%, 0%, 62% | HSV: 233°, 73%, 38%. Copy any format from the conversion table above.
What colors go well with #1A2261?
The complementary color is HSL(53, 58%, 24%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 58%, 24%) in CSS?
As HSL: color: hsl(233, 58%, 24%); — As HEX: color: #1A2261; — As RGB: color: rgb(26, 34, 97); — Tailwind CSS: bg-[hsl(233,58%,24%)] — CSS variable: --color-primary: hsl(233, 58%, 24%);