HSL(231, 17%, 28%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(231,17%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 17%, 28%) | color: hsl(231, 17%, 28%) | |
| HEX | #3B3F54 | color: #3B3F54 | |
| RGB | rgb(59, 63, 84) | color: rgb(59, 63, 84) | |
| CMYK | cmyk(30%, 25%, 0%, 67%) | — | |
| HSV | hsv(230, 30%, 33%) | — | |
| HWB | hwb(230 23% 67%) | color: hwb(230 23% 67%) | |
| OKLCH | oklch(0.3728 0.0365 276.11) | color: oklch(0.3728 0.0365 276.11) | |
| Lab | lab(27.09 3.86 -13.16) | color: lab(27.09 3.86 -13.16) | |
| LCH | lch(27.09 13.71 286.35) | color: lch(27.09 13.71 286.35) |
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)
#3D3D4F — rgb(61, 61, 79)
Deuteranopia (Green-blind)
#3D3C4E — rgb(61, 60, 78)
Tritanopia (Blue-blind)
#3B4B4A — rgb(59, 75, 74)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 17%, 28%);
text
color: hsl(231, 17%, 28%);
border
border: 2px solid hsl(231, 17%, 28%);
gradient light
background: linear-gradient(to right, hsl(231, 17%, 48%), hsl(231, 17%, 28%));
gradient dark
background: linear-gradient(to right, hsl(231, 17%, 28%), hsl(231, 17%, 8%))
hex
background-color: #3B3F54;
tailwind
bg-[hsl(231,17%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 17%, 28%, 0.4);
css variable
--color-primary: hsl(231, 17%, 28%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 17%, 28%)?
HEX: #3B3F54 | RGB: rgb(59, 63, 84) | CMYK: 30%, 25%, 0%, 67% | HSV: 230°, 30%, 33%. Copy any format from the conversion table above.
What colors go well with #3B3F54?
The complementary color is HSL(51, 17%, 28%). 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, 17%, 28%) in CSS?
As HSL: color: hsl(231, 17%, 28%); — As HEX: color: #3B3F54; — As RGB: color: rgb(59, 63, 84); — Tailwind CSS: bg-[hsl(231,17%,28%)] — CSS variable: --color-primary: hsl(231, 17%, 28%);