HSL(233, 55%, 20%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,55%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 55%, 20%) | color: hsl(233, 55%, 20%) | |
| HEX | #171D4F | color: #171D4F | |
| RGB | rgb(23, 29, 79) | color: rgb(23, 29, 79) | |
| CMYK | cmyk(71%, 63%, 0%, 69%) | — | |
| HSV | hsv(234, 71%, 31%) | — | |
| HWB | hwb(234 9% 69%) | color: hwb(234 9% 69%) | |
| OKLCH | oklch(0.2595 0.0912 273.09) | color: oklch(0.2595 0.0912 273.09) | |
| Lab | lab(13.38 15.92 -31.66) | color: lab(13.38 15.92 -31.66) | |
| LCH | lch(13.38 35.44 296.7) | color: lch(13.38 35.44 296.7) |
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)
#1A1A43 — rgb(26, 26, 67)
Deuteranopia (Green-blind)
#191940 — rgb(25, 25, 64)
Tritanopia (Blue-blind)
#173937 — rgb(23, 57, 55)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 55%, 20%);
text
color: hsl(233, 55%, 20%);
border
border: 2px solid hsl(233, 55%, 20%);
gradient light
background: linear-gradient(to right, hsl(233, 55%, 40%), hsl(233, 55%, 20%));
gradient dark
background: linear-gradient(to right, hsl(233, 55%, 20%), hsl(233, 55%, 0%))
hex
background-color: #171D4F;
tailwind
bg-[hsl(233,55%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 55%, 20%, 0.4);
css variable
--color-primary: hsl(233, 55%, 20%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 55%, 20%)?
HEX: #171D4F | RGB: rgb(23, 29, 79) | CMYK: 71%, 63%, 0%, 69% | HSV: 234°, 71%, 31%. Copy any format from the conversion table above.
What colors go well with #171D4F?
The complementary color is HSL(53, 55%, 20%). 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, 55%, 20%) in CSS?
As HSL: color: hsl(233, 55%, 20%); — As HEX: color: #171D4F; — As RGB: color: rgb(23, 29, 79); — Tailwind CSS: bg-[hsl(233,55%,20%)] — CSS variable: --color-primary: hsl(233, 55%, 20%);