HSL(236, 50%, 45%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(236,50%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(236, 50%, 45%) | color: hsl(236, 50%, 45%) | |
| HEX | #3941AC | color: #3941AC | |
| RGB | rgb(57, 65, 172) | color: rgb(57, 65, 172) | |
| CMYK | cmyk(67%, 62%, 0%, 33%) | — | |
| HSV | hsv(236, 67%, 67%) | — | |
| HWB | hwb(236 22% 33%) | color: hwb(236 22% 33%) | |
| OKLCH | oklch(0.4369 0.1685 273.82) | color: oklch(0.4369 0.1685 273.82) | |
| Lab | lab(33.2 31.77 -58.32) | color: lab(33.2 31.77 -58.32) | |
| LCH | lch(33.2 66.41 298.58) | color: lch(33.2 66.41 298.58) |
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)
#3C3D92 — rgb(60, 61, 146)
Deuteranopia (Green-blind)
#3C3B8C — rgb(60, 59, 140)
Tritanopia (Blue-blind)
#397E79 — rgb(57, 126, 121)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(236, 50%, 45%);
text
color: hsl(236, 50%, 45%);
border
border: 2px solid hsl(236, 50%, 45%);
gradient light
background: linear-gradient(to right, hsl(236, 50%, 65%), hsl(236, 50%, 45%));
gradient dark
background: linear-gradient(to right, hsl(236, 50%, 45%), hsl(236, 50%, 25%))
hex
background-color: #3941AC;
tailwind
bg-[hsl(236,50%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(236, 50%, 45%, 0.4);
css variable
--color-primary: hsl(236, 50%, 45%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(236, 50%, 45%)?
HEX: #3941AC | RGB: rgb(57, 65, 172) | CMYK: 67%, 62%, 0%, 33% | HSV: 236°, 67%, 67%. Copy any format from the conversion table above.
What colors go well with #3941AC?
The complementary color is HSL(56, 50%, 45%). For a triadic harmony, use hues 236°, 356°, and 116°. For analogous combinations, try hues 206° and 266°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(236, 50%, 45%) in CSS?
As HSL: color: hsl(236, 50%, 45%); — As HEX: color: #3941AC; — As RGB: color: rgb(57, 65, 172); — Tailwind CSS: bg-[hsl(236,50%,45%)] — CSS variable: --color-primary: hsl(236, 50%, 45%);