HSL(213, 50%, 46%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(213,50%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(213, 50%, 46%) | color: hsl(213, 50%, 46%) | |
| HEX | #3B6FB0 | color: #3B6FB0 | |
| RGB | rgb(59, 111, 176) | color: rgb(59, 111, 176) | |
| CMYK | cmyk(66%, 37%, 0%, 31%) | — | |
| HSV | hsv(213, 66%, 69%) | — | |
| HWB | hwb(213 23% 31%) | color: hwb(213 23% 31%) | |
| OKLCH | oklch(0.5371 0.1168 255.07) | color: oklch(0.5371 0.1168 255.07) | |
| Lab | lab(46.22 3.93 -39.73) | color: lab(46.22 3.93 -39.73) | |
| LCH | lch(46.22 39.92 275.65) | color: lch(46.22 39.92 275.65) |
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)
#5252A0 — rgb(82, 82, 160)
Deuteranopia (Green-blind)
#4F4B9D — rgb(79, 75, 157)
Tritanopia (Blue-blind)
#3E9491 — rgb(62, 148, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(213, 50%, 46%);
text
color: hsl(213, 50%, 46%);
border
border: 2px solid hsl(213, 50%, 46%);
gradient light
background: linear-gradient(to right, hsl(213, 50%, 66%), hsl(213, 50%, 46%));
gradient dark
background: linear-gradient(to right, hsl(213, 50%, 46%), hsl(213, 50%, 26%))
hex
background-color: #3B6FB0;
tailwind
bg-[hsl(213,50%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(213, 50%, 46%, 0.4);
css variable
--color-primary: hsl(213, 50%, 46%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(213, 50%, 46%)?
HEX: #3B6FB0 | RGB: rgb(59, 111, 176) | CMYK: 66%, 37%, 0%, 31% | HSV: 213°, 66%, 69%. Copy any format from the conversion table above.
What colors go well with #3B6FB0?
The complementary color is HSL(33, 50%, 46%). For a triadic harmony, use hues 213°, 333°, and 93°. For analogous combinations, try hues 183° and 243°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(213, 50%, 46%) in CSS?
As HSL: color: hsl(213, 50%, 46%); — As HEX: color: #3B6FB0; — As RGB: color: rgb(59, 111, 176); — Tailwind CSS: bg-[hsl(213,50%,46%)] — CSS variable: --color-primary: hsl(213, 50%, 46%);