HSL(236, 72%, 56%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(236,72%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(236, 72%, 56%) | color: hsl(236, 72%, 56%) | |
| HEX | #3E49E0 | color: #3E49E0 | |
| RGB | rgb(62, 73, 224) | color: rgb(62, 73, 224) | |
| CMYK | cmyk(72%, 67%, 0%, 12%) | — | |
| HSV | hsv(236, 72%, 88%) | — | |
| HWB | hwb(236 25% 12%) | color: hwb(236 25% 12%) | |
| OKLCH | oklch(0.5002 0.2248 271.86) | color: oklch(0.5002 0.2248 271.86) | |
| Lab | lab(39.86 45.37 -77.7) | color: lab(39.86 45.37 -77.7) | |
| LCH | lch(39.86 89.98 300.28) | color: lch(39.86 89.98 300.28) |
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)
#4343BB — rgb(67, 67, 187)
Deuteranopia (Green-blind)
#4241B3 — rgb(66, 65, 179)
Tritanopia (Blue-blind)
#3F9F98 — rgb(63, 159, 152)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(236, 72%, 56%);
text
color: hsl(236, 72%, 56%);
border
border: 2px solid hsl(236, 72%, 56%);
gradient light
background: linear-gradient(to right, hsl(236, 72%, 76%), hsl(236, 72%, 56%));
gradient dark
background: linear-gradient(to right, hsl(236, 72%, 56%), hsl(236, 72%, 36%))
hex
background-color: #3E49E0;
tailwind
bg-[hsl(236,72%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(236, 72%, 56%, 0.4);
css variable
--color-primary: hsl(236, 72%, 56%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(236, 72%, 56%)?
HEX: #3E49E0 | RGB: rgb(62, 73, 224) | CMYK: 72%, 67%, 0%, 12% | HSV: 236°, 72%, 88%. Copy any format from the conversion table above.
What colors go well with #3E49E0?
The complementary color is HSL(56, 72%, 56%). 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, 72%, 56%) in CSS?
As HSL: color: hsl(236, 72%, 56%); — As HEX: color: #3E49E0; — As RGB: color: rgb(62, 73, 224); — Tailwind CSS: bg-[hsl(236,72%,56%)] — CSS variable: --color-primary: hsl(236, 72%, 56%);