HSL(231, 49%, 33%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,49%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 49%, 33%) | color: hsl(231, 49%, 33%) | |
| HEX | #2B377D | color: #2B377D | |
| RGB | rgb(43, 55, 125) | color: rgb(43, 55, 125) | |
| CMYK | cmyk(66%, 56%, 0%, 51%) | — | |
| HSV | hsv(231, 66%, 49%) | — | |
| HWB | hwb(231 17% 51%) | color: hwb(231 17% 51%) | |
| OKLCH | oklch(0.3688 0.1188 271.97) | color: oklch(0.3688 0.1188 271.97) | |
| Lab | lab(25.94 19 -41.36) | color: lab(25.94 19 -41.36) | |
| LCH | lch(25.94 45.52 294.67) | color: lch(25.94 45.52 294.67) |
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)
#30306C — rgb(48, 48, 108)
Deuteranopia (Green-blind)
#302F68 — rgb(48, 47, 104)
Tritanopia (Blue-blind)
#2C5F5C — rgb(44, 95, 92)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 49%, 33%);
text
color: hsl(231, 49%, 33%);
border
border: 2px solid hsl(231, 49%, 33%);
gradient light
background: linear-gradient(to right, hsl(231, 49%, 53%), hsl(231, 49%, 33%));
gradient dark
background: linear-gradient(to right, hsl(231, 49%, 33%), hsl(231, 49%, 13%))
hex
background-color: #2B377D;
tailwind
bg-[hsl(231,49%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 49%, 33%, 0.4);
css variable
--color-primary: hsl(231, 49%, 33%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 49%, 33%)?
HEX: #2B377D | RGB: rgb(43, 55, 125) | CMYK: 66%, 56%, 0%, 51% | HSV: 231°, 66%, 49%. Copy any format from the conversion table above.
What colors go well with #2B377D?
The complementary color is HSL(51, 49%, 33%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 49%, 33%) in CSS?
As HSL: color: hsl(231, 49%, 33%); — As HEX: color: #2B377D; — As RGB: color: rgb(43, 55, 125); — Tailwind CSS: bg-[hsl(231,49%,33%)] — CSS variable: --color-primary: hsl(231, 49%, 33%);