HSL(233, 26%, 22%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,26%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 26%, 22%) | color: hsl(233, 26%, 22%) | |
| HEX | #2A2D47 | color: #2A2D47 | |
| RGB | rgb(42, 45, 71) | color: rgb(42, 45, 71) | |
| CMYK | cmyk(41%, 37%, 0%, 72%) | — | |
| HSV | hsv(234, 41%, 28%) | — | |
| HWB | hwb(234 17% 72%) | color: hwb(234 17% 72%) | |
| OKLCH | oklch(0.3069 0.0469 278.2) | color: oklch(0.3069 0.0469 278.2) | |
| Lab | lab(19.32 6.28 -16.64) | color: lab(19.32 6.28 -16.64) | |
| LCH | lch(19.32 17.79 290.68) | color: lch(19.32 17.79 290.68) |
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)
#2B2B41 — rgb(43, 43, 65)
Deuteranopia (Green-blind)
#2B2B3F — rgb(43, 43, 63)
Tritanopia (Blue-blind)
#2A3C3B — rgb(42, 60, 59)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 26%, 22%);
text
color: hsl(233, 26%, 22%);
border
border: 2px solid hsl(233, 26%, 22%);
gradient light
background: linear-gradient(to right, hsl(233, 26%, 42%), hsl(233, 26%, 22%));
gradient dark
background: linear-gradient(to right, hsl(233, 26%, 22%), hsl(233, 26%, 2%))
hex
background-color: #2A2D47;
tailwind
bg-[hsl(233,26%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 26%, 22%, 0.4);
css variable
--color-primary: hsl(233, 26%, 22%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 26%, 22%)?
HEX: #2A2D47 | RGB: rgb(42, 45, 71) | CMYK: 41%, 37%, 0%, 72% | HSV: 234°, 41%, 28%. Copy any format from the conversion table above.
What colors go well with #2A2D47?
The complementary color is HSL(53, 26%, 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, 26%, 22%) in CSS?
As HSL: color: hsl(233, 26%, 22%); — As HEX: color: #2A2D47; — As RGB: color: rgb(42, 45, 71); — Tailwind CSS: bg-[hsl(233,26%,22%)] — CSS variable: --color-primary: hsl(233, 26%, 22%);