HSL(212, 67%, 58%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(212,67%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(212, 67%, 58%) | color: hsl(212, 67%, 58%) | |
| HEX | #4C8FDC | color: #4C8FDC | |
| RGB | rgb(76, 143, 220) | color: rgb(76, 143, 220) | |
| CMYK | cmyk(65%, 35%, 0%, 14%) | — | |
| HSV | hsv(212, 65%, 86%) | — | |
| HWB | hwb(212 30% 14%) | color: hwb(212 30% 14%) | |
| OKLCH | oklch(0.6412 0.1349 253.41) | color: oklch(0.6412 0.1349 253.41) | |
| Lab | lab(58.36 2.86 -45.56) | color: lab(58.36 2.86 -45.56) | |
| LCH | lch(58.36 45.65 273.59) | color: lch(58.36 45.65 273.59) |
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)
#696AC9 — rgb(105, 106, 201)
Deuteranopia (Green-blind)
#6560C5 — rgb(101, 96, 197)
Tritanopia (Blue-blind)
#4FBBB7 — rgb(79, 187, 183)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(212, 67%, 58%);
text
color: hsl(212, 67%, 58%);
border
border: 2px solid hsl(212, 67%, 58%);
gradient light
background: linear-gradient(to right, hsl(212, 67%, 78%), hsl(212, 67%, 58%));
gradient dark
background: linear-gradient(to right, hsl(212, 67%, 58%), hsl(212, 67%, 38%))
hex
background-color: #4C8FDC;
tailwind
bg-[hsl(212,67%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(212, 67%, 58%, 0.4);
css variable
--color-primary: hsl(212, 67%, 58%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(212, 67%, 58%)?
HEX: #4C8FDC | RGB: rgb(76, 143, 220) | CMYK: 65%, 35%, 0%, 14% | HSV: 212°, 65%, 86%. Copy any format from the conversion table above.
What colors go well with #4C8FDC?
The complementary color is HSL(32, 67%, 58%). 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, 67%, 58%) in CSS?
As HSL: color: hsl(212, 67%, 58%); — As HEX: color: #4C8FDC; — As RGB: color: rgb(76, 143, 220); — Tailwind CSS: bg-[hsl(212,67%,58%)] — CSS variable: --color-primary: hsl(212, 67%, 58%);