HSL(218, 71%, 56%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(218,71%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(218, 71%, 56%) | color: hsl(218, 71%, 56%) | |
| HEX | #3F7ADE | color: #3F7ADE | |
| RGB | rgb(63, 122, 222) | color: rgb(63, 122, 222) | |
| CMYK | cmyk(72%, 45%, 0%, 13%) | — | |
| HSV | hsv(218, 72%, 87%) | — | |
| HWB | hwb(218 24% 13%) | color: hwb(218 24% 13%) | |
| OKLCH | oklch(0.5917 0.1647 260.26) | color: oklch(0.5917 0.1647 260.26) | |
| Lab | lab(52.12 14.27 -56.67) | color: lab(52.12 14.27 -56.67) | |
| LCH | lch(52.12 58.44 284.13) | color: lch(52.12 58.44 284.13) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#5959C6 — rgb(89, 89, 198)
Deuteranopia (Green-blind)
#5551C0 — rgb(85, 81, 192)
Tritanopia (Blue-blind)
#42B3AF — rgb(66, 179, 175)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(218, 71%, 56%);
text
color: hsl(218, 71%, 56%);
border
border: 2px solid hsl(218, 71%, 56%);
gradient light
background: linear-gradient(to right, hsl(218, 71%, 76%), hsl(218, 71%, 56%));
gradient dark
background: linear-gradient(to right, hsl(218, 71%, 56%), hsl(218, 71%, 36%))
hex
background-color: #3F7ADE;
tailwind
bg-[hsl(218,71%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(218, 71%, 56%, 0.4);
css variable
--color-primary: hsl(218, 71%, 56%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(218, 71%, 56%)?
HEX: #3F7ADE | RGB: rgb(63, 122, 222) | CMYK: 72%, 45%, 0%, 13% | HSV: 218°, 72%, 87%. Copy any format from the conversion table above.
What colors go well with #3F7ADE?
The complementary color is HSL(38, 71%, 56%). 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, 71%, 56%) in CSS?
As HSL: color: hsl(218, 71%, 56%); — As HEX: color: #3F7ADE; — As RGB: color: rgb(63, 122, 222); — Tailwind CSS: bg-[hsl(218,71%,56%)] — CSS variable: --color-primary: hsl(218, 71%, 56%);