HSL(212, 25%, 41%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(212,25%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(212, 25%, 41%) | color: hsl(212, 25%, 41%) | |
| HEX | #4E6783 | color: #4E6783 | |
| RGB | rgb(78, 103, 131) | color: rgb(78, 103, 131) | |
| CMYK | cmyk(40%, 21%, 0%, 49%) | — | |
| HSV | hsv(212, 40%, 51%) | — | |
| HWB | hwb(212 31% 49%) | color: hwb(212 31% 49%) | |
| OKLCH | oklch(0.5052 0.0539 251.72) | color: oklch(0.5052 0.0539 251.72) | |
| Lab | lab(42.7 -1.58 -18.48) | color: lab(42.7 -1.58 -18.48) | |
| LCH | lch(42.7 18.55 265.11) | color: lch(42.7 18.55 265.11) |
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)
#59597C — rgb(89, 89, 124)
Deuteranopia (Green-blind)
#57567B — rgb(87, 86, 123)
Tritanopia (Blue-blind)
#4F7776 — rgb(79, 119, 118)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(212, 25%, 41%);
text
color: hsl(212, 25%, 41%);
border
border: 2px solid hsl(212, 25%, 41%);
gradient light
background: linear-gradient(to right, hsl(212, 25%, 61%), hsl(212, 25%, 41%));
gradient dark
background: linear-gradient(to right, hsl(212, 25%, 41%), hsl(212, 25%, 21%))
hex
background-color: #4E6783;
tailwind
bg-[hsl(212,25%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(212, 25%, 41%, 0.4);
css variable
--color-primary: hsl(212, 25%, 41%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(212, 25%, 41%)?
HEX: #4E6783 | RGB: rgb(78, 103, 131) | CMYK: 40%, 21%, 0%, 49% | HSV: 212°, 40%, 51%. Copy any format from the conversion table above.
What colors go well with #4E6783?
The complementary color is HSL(32, 25%, 41%). For a triadic harmony, use hues 212°, 332°, and 92°. For analogous combinations, try hues 182° and 242°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(212, 25%, 41%) in CSS?
As HSL: color: hsl(212, 25%, 41%); — As HEX: color: #4E6783; — As RGB: color: rgb(78, 103, 131); — Tailwind CSS: bg-[hsl(212,25%,41%)] — CSS variable: --color-primary: hsl(212, 25%, 41%);