HSL(236, 71%, 54%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(236,71%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(236, 71%, 54%) | color: hsl(236, 71%, 54%) | |
| HEX | #3642DD | color: #3642DD | |
| RGB | rgb(54, 66, 221) | color: rgb(54, 66, 221) | |
| CMYK | cmyk(76%, 70%, 0%, 13%) | — | |
| HSV | hsv(236, 76%, 87%) | — | |
| HWB | hwb(236 21% 13%) | color: hwb(236 21% 13%) | |
| OKLCH | oklch(0.4823 0.2305 270.76) | color: oklch(0.4823 0.2305 270.76) | |
| Lab | lab(37.66 47.72 -79.63) | color: lab(37.66 47.72 -79.63) | |
| LCH | lch(37.66 92.83 300.93) | color: lch(37.66 92.83 300.93) |
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)
#3B3BB7 — rgb(59, 59, 183)
Deuteranopia (Green-blind)
#3B3AAF — rgb(59, 58, 175)
Tritanopia (Blue-blind)
#379A93 — rgb(55, 154, 147)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(236, 71%, 54%);
text
color: hsl(236, 71%, 54%);
border
border: 2px solid hsl(236, 71%, 54%);
gradient light
background: linear-gradient(to right, hsl(236, 71%, 74%), hsl(236, 71%, 54%));
gradient dark
background: linear-gradient(to right, hsl(236, 71%, 54%), hsl(236, 71%, 34%))
hex
background-color: #3642DD;
tailwind
bg-[hsl(236,71%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(236, 71%, 54%, 0.4);
css variable
--color-primary: hsl(236, 71%, 54%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(236, 71%, 54%)?
HEX: #3642DD | RGB: rgb(54, 66, 221) | CMYK: 76%, 70%, 0%, 13% | HSV: 236°, 76%, 87%. Copy any format from the conversion table above.
What colors go well with #3642DD?
The complementary color is HSL(56, 71%, 54%). 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, 71%, 54%) in CSS?
As HSL: color: hsl(236, 71%, 54%); — As HEX: color: #3642DD; — As RGB: color: rgb(54, 66, 221); — Tailwind CSS: bg-[hsl(236,71%,54%)] — CSS variable: --color-primary: hsl(236, 71%, 54%);