HSL(223, 34%, 26%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(223,34%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(223, 34%, 26%) | color: hsl(223, 34%, 26%) | |
| HEX | #2C3959 | color: #2C3959 | |
| RGB | rgb(44, 57, 89) | color: rgb(44, 57, 89) | |
| CMYK | cmyk(51%, 36%, 0%, 65%) | — | |
| HSV | hsv(223, 51%, 35%) | — | |
| HWB | hwb(223 17% 65%) | color: hwb(223 17% 65%) | |
| OKLCH | oklch(0.3487 0.0588 266.56) | color: oklch(0.3487 0.0588 266.56) | |
| Lab | lab(24.27 4.66 -20.9) | color: lab(24.27 4.66 -20.9) | |
| LCH | lch(24.27 21.41 282.57) | color: lch(24.27 21.41 282.57) |
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)
#323251 — rgb(50, 50, 81)
Deuteranopia (Green-blind)
#31304F — rgb(49, 48, 79)
Tritanopia (Blue-blind)
#2D4B4A — rgb(45, 75, 74)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(223, 34%, 26%);
text
color: hsl(223, 34%, 26%);
border
border: 2px solid hsl(223, 34%, 26%);
gradient light
background: linear-gradient(to right, hsl(223, 34%, 46%), hsl(223, 34%, 26%));
gradient dark
background: linear-gradient(to right, hsl(223, 34%, 26%), hsl(223, 34%, 6%))
hex
background-color: #2C3959;
tailwind
bg-[hsl(223,34%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(223, 34%, 26%, 0.4);
css variable
--color-primary: hsl(223, 34%, 26%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(223, 34%, 26%)?
HEX: #2C3959 | RGB: rgb(44, 57, 89) | CMYK: 51%, 36%, 0%, 65% | HSV: 223°, 51%, 35%. Copy any format from the conversion table above.
What colors go well with #2C3959?
The complementary color is HSL(43, 34%, 26%). For a triadic harmony, use hues 223°, 343°, and 103°. For analogous combinations, try hues 193° and 253°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(223, 34%, 26%) in CSS?
As HSL: color: hsl(223, 34%, 26%); — As HEX: color: #2C3959; — As RGB: color: rgb(44, 57, 89); — Tailwind CSS: bg-[hsl(223,34%,26%)] — CSS variable: --color-primary: hsl(223, 34%, 26%);