HSL(208, 45%, 51%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(208,45%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(208, 45%, 51%) | color: hsl(208, 45%, 51%) | |
| HEX | #4A86BA | color: #4A86BA | |
| RGB | rgb(74, 134, 186) | color: rgb(74, 134, 186) | |
| CMYK | cmyk(60%, 28%, 0%, 27%) | — | |
| HSV | hsv(208, 60%, 73%) | — | |
| HWB | hwb(208 29% 27%) | color: hwb(208 29% 27%) | |
| OKLCH | oklch(0.6021 0.1014 246.62) | color: oklch(0.6021 0.1014 246.62) | |
| Lab | lab(54.08 -3.64 -33.1) | color: lab(54.08 -3.64 -33.1) | |
| LCH | lch(54.08 33.3 263.72) | color: lch(54.08 33.3 263.72) |
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)
#6465AD — rgb(100, 101, 173)
Deuteranopia (Green-blind)
#615CAA — rgb(97, 92, 170)
Tritanopia (Blue-blind)
#4DA3A1 — rgb(77, 163, 161)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(208, 45%, 51%);
text
color: hsl(208, 45%, 51%);
border
border: 2px solid hsl(208, 45%, 51%);
gradient light
background: linear-gradient(to right, hsl(208, 45%, 71%), hsl(208, 45%, 51%));
gradient dark
background: linear-gradient(to right, hsl(208, 45%, 51%), hsl(208, 45%, 31%))
hex
background-color: #4A86BA;
tailwind
bg-[hsl(208,45%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(208, 45%, 51%, 0.4);
css variable
--color-primary: hsl(208, 45%, 51%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(208, 45%, 51%)?
HEX: #4A86BA | RGB: rgb(74, 134, 186) | CMYK: 60%, 28%, 0%, 27% | HSV: 208°, 60%, 73%. Copy any format from the conversion table above.
What colors go well with #4A86BA?
The complementary color is HSL(28, 45%, 51%). For a triadic harmony, use hues 208°, 328°, and 88°. For analogous combinations, try hues 178° and 238°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(208, 45%, 51%) in CSS?
As HSL: color: hsl(208, 45%, 51%); — As HEX: color: #4A86BA; — As RGB: color: rgb(74, 134, 186); — Tailwind CSS: bg-[hsl(208,45%,51%)] — CSS variable: --color-primary: hsl(208, 45%, 51%);