HSL(216, 75%, 49%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(216,75%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(216, 75%, 49%) | color: hsl(216, 75%, 49%) | |
| HEX | #1F6ADB | color: #1F6ADB | |
| RGB | rgb(31, 106, 219) | color: rgb(31, 106, 219) | |
| CMYK | cmyk(86%, 52%, 0%, 14%) | — | |
| HSV | hsv(216, 86%, 86%) | — | |
| HWB | hwb(216 12% 14%) | color: hwb(216 12% 14%) | |
| OKLCH | oklch(0.5461 0.1877 259.24) | color: oklch(0.5461 0.1877 259.24) | |
| Lab | lab(46.59 19.97 -63.92) | color: lab(46.59 19.97 -63.92) | |
| LCH | lch(46.59 66.97 287.35) | color: lch(46.59 66.97 287.35) |
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)
#3F40C0 — rgb(63, 64, 192)
Deuteranopia (Green-blind)
#3B36B9 — rgb(59, 54, 185)
Tritanopia (Blue-blind)
#23AAA5 — rgb(35, 170, 165)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(216, 75%, 49%);
text
color: hsl(216, 75%, 49%);
border
border: 2px solid hsl(216, 75%, 49%);
gradient light
background: linear-gradient(to right, hsl(216, 75%, 69%), hsl(216, 75%, 49%));
gradient dark
background: linear-gradient(to right, hsl(216, 75%, 49%), hsl(216, 75%, 29%))
hex
background-color: #1F6ADB;
tailwind
bg-[hsl(216,75%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(216, 75%, 49%, 0.4);
css variable
--color-primary: hsl(216, 75%, 49%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(216, 75%, 49%)?
HEX: #1F6ADB | RGB: rgb(31, 106, 219) | CMYK: 86%, 52%, 0%, 14% | HSV: 216°, 86%, 86%. Copy any format from the conversion table above.
What colors go well with #1F6ADB?
The complementary color is HSL(36, 75%, 49%). For a triadic harmony, use hues 216°, 336°, and 96°. For analogous combinations, try hues 186° and 246°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(216, 75%, 49%) in CSS?
As HSL: color: hsl(216, 75%, 49%); — As HEX: color: #1F6ADB; — As RGB: color: rgb(31, 106, 219); — Tailwind CSS: bg-[hsl(216,75%,49%)] — CSS variable: --color-primary: hsl(216, 75%, 49%);