HSL(233, 48%, 22%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,48%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 48%, 22%) | color: hsl(233, 48%, 22%) | |
| HEX | #1D2353 | color: #1D2353 | |
| RGB | rgb(29, 35, 83) | color: rgb(29, 35, 83) | |
| CMYK | cmyk(65%, 58%, 0%, 67%) | — | |
| HSV | hsv(233, 65%, 33%) | — | |
| HWB | hwb(233 12% 67%) | color: hwb(233 12% 67%) | |
| OKLCH | oklch(0.2809 0.0868 274.05) | color: oklch(0.2809 0.0868 274.05) | |
| Lab | lab(15.94 14.29 -30.22) | color: lab(15.94 14.29 -30.22) | |
| LCH | lch(15.94 33.43 295.31) | color: lch(15.94 33.43 295.31) |
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)
#202047 — rgb(32, 32, 71)
Deuteranopia (Green-blind)
#1F1F45 — rgb(31, 31, 69)
Tritanopia (Blue-blind)
#1D3E3C — rgb(29, 62, 60)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 48%, 22%);
text
color: hsl(233, 48%, 22%);
border
border: 2px solid hsl(233, 48%, 22%);
gradient light
background: linear-gradient(to right, hsl(233, 48%, 42%), hsl(233, 48%, 22%));
gradient dark
background: linear-gradient(to right, hsl(233, 48%, 22%), hsl(233, 48%, 2%))
hex
background-color: #1D2353;
tailwind
bg-[hsl(233,48%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 48%, 22%, 0.4);
css variable
--color-primary: hsl(233, 48%, 22%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 48%, 22%)?
HEX: #1D2353 | RGB: rgb(29, 35, 83) | CMYK: 65%, 58%, 0%, 67% | HSV: 233°, 65%, 33%. Copy any format from the conversion table above.
What colors go well with #1D2353?
The complementary color is HSL(53, 48%, 22%). 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, 48%, 22%) in CSS?
As HSL: color: hsl(233, 48%, 22%); — As HEX: color: #1D2353; — As RGB: color: rgb(29, 35, 83); — Tailwind CSS: bg-[hsl(233,48%,22%)] — CSS variable: --color-primary: hsl(233, 48%, 22%);