HSL(233, 60%, 29%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,60%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 60%, 29%) | color: hsl(233, 60%, 29%) | |
| HEX | #1E2876 | color: #1E2876 | |
| RGB | rgb(30, 40, 118) | color: rgb(30, 40, 118) | |
| CMYK | cmyk(75%, 66%, 0%, 54%) | — | |
| HSV | hsv(233, 75%, 46%) | — | |
| HWB | hwb(233 12% 54%) | color: hwb(233 12% 54%) | |
| OKLCH | oklch(0.324 0.1326 271.16) | color: oklch(0.324 0.1326 271.16) | |
| Lab | lab(20.44 24.64 -45.89) | color: lab(20.44 24.64 -45.89) | |
| LCH | lch(20.44 52.09 298.23) | color: lch(20.44 52.09 298.23) |
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)
#222263 — rgb(34, 34, 99)
Deuteranopia (Green-blind)
#22215F — rgb(34, 33, 95)
Tritanopia (Blue-blind)
#1F5451 — rgb(31, 84, 81)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 60%, 29%);
text
color: hsl(233, 60%, 29%);
border
border: 2px solid hsl(233, 60%, 29%);
gradient light
background: linear-gradient(to right, hsl(233, 60%, 49%), hsl(233, 60%, 29%));
gradient dark
background: linear-gradient(to right, hsl(233, 60%, 29%), hsl(233, 60%, 9%))
hex
background-color: #1E2876;
tailwind
bg-[hsl(233,60%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 60%, 29%, 0.4);
css variable
--color-primary: hsl(233, 60%, 29%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 60%, 29%)?
HEX: #1E2876 | RGB: rgb(30, 40, 118) | CMYK: 75%, 66%, 0%, 54% | HSV: 233°, 75%, 46%. Copy any format from the conversion table above.
What colors go well with #1E2876?
The complementary color is HSL(53, 60%, 29%). 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, 60%, 29%) in CSS?
As HSL: color: hsl(233, 60%, 29%); — As HEX: color: #1E2876; — As RGB: color: rgb(30, 40, 118); — Tailwind CSS: bg-[hsl(233,60%,29%)] — CSS variable: --color-primary: hsl(233, 60%, 29%);