HSL(218, 50%, 49%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(218,50%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(218, 50%, 49%) | color: hsl(218, 50%, 49%) | |
| HEX | #3E6CBB | color: #3E6CBB | |
| RGB | rgb(62, 108, 187) | color: rgb(62, 108, 187) | |
| CMYK | cmyk(67%, 42%, 0%, 27%) | — | |
| HSV | hsv(218, 67%, 73%) | — | |
| HWB | hwb(218 24% 27%) | color: hwb(218 24% 27%) | |
| OKLCH | oklch(0.5384 0.134 260.49) | color: oklch(0.5384 0.134 260.49) | |
| Lab | lab(46.09 10.25 -46.32) | color: lab(46.09 10.25 -46.32) | |
| LCH | lch(46.09 47.44 282.48) | color: lch(46.09 47.44 282.48) |
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)
#5252A8 — rgb(82, 82, 168)
Deuteranopia (Green-blind)
#4F4CA3 — rgb(79, 76, 163)
Tritanopia (Blue-blind)
#409995 — rgb(64, 153, 149)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(218, 50%, 49%);
text
color: hsl(218, 50%, 49%);
border
border: 2px solid hsl(218, 50%, 49%);
gradient light
background: linear-gradient(to right, hsl(218, 50%, 69%), hsl(218, 50%, 49%));
gradient dark
background: linear-gradient(to right, hsl(218, 50%, 49%), hsl(218, 50%, 29%))
hex
background-color: #3E6CBB;
tailwind
bg-[hsl(218,50%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(218, 50%, 49%, 0.4);
css variable
--color-primary: hsl(218, 50%, 49%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(218, 50%, 49%)?
HEX: #3E6CBB | RGB: rgb(62, 108, 187) | CMYK: 67%, 42%, 0%, 27% | HSV: 218°, 67%, 73%. Copy any format from the conversion table above.
What colors go well with #3E6CBB?
The complementary color is HSL(38, 50%, 49%). For a triadic harmony, use hues 218°, 338°, and 98°. For analogous combinations, try hues 188° and 248°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(218, 50%, 49%) in CSS?
As HSL: color: hsl(218, 50%, 49%); — As HEX: color: #3E6CBB; — As RGB: color: rgb(62, 108, 187); — Tailwind CSS: bg-[hsl(218,50%,49%)] — CSS variable: --color-primary: hsl(218, 50%, 49%);