HSL(229, 95%, 64%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(229,95%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 95%, 64%) | color: hsl(229, 95%, 64%) | |
| HEX | #4C6CFA | color: #4C6CFA | |
| RGB | rgb(76, 108, 250) | color: rgb(76, 108, 250) | |
| CMYK | cmyk(70%, 57%, 0%, 2%) | — | |
| HSV | hsv(229, 70%, 98%) | — | |
| HWB | hwb(229 29% 2%) | color: hwb(229 29% 2%) | |
| OKLCH | oklch(0.5897 0.2142 269.13) | color: oklch(0.5897 0.2142 269.13) | |
| Lab | lab(50.88 34.61 -74.3) | color: lab(50.88 34.61 -74.3) | |
| LCH | lch(50.88 81.97 294.98) | color: lch(50.88 81.97 294.98) |
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)
#5A5AD8 — rgb(90, 90, 216)
Deuteranopia (Green-blind)
#5856CF — rgb(88, 86, 207)
Tritanopia (Blue-blind)
#4EBDB7 — rgb(78, 189, 183)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 95%, 64%);
text
color: hsl(229, 95%, 64%);
border
border: 2px solid hsl(229, 95%, 64%);
gradient light
background: linear-gradient(to right, hsl(229, 95%, 84%), hsl(229, 95%, 64%));
gradient dark
background: linear-gradient(to right, hsl(229, 95%, 64%), hsl(229, 95%, 44%))
hex
background-color: #4C6CFA;
tailwind
bg-[hsl(229,95%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 95%, 64%, 0.4);
css variable
--color-primary: hsl(229, 95%, 64%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 95%, 64%)?
HEX: #4C6CFA | RGB: rgb(76, 108, 250) | CMYK: 70%, 57%, 0%, 2% | HSV: 229°, 70%, 98%. Copy any format from the conversion table above.
What colors go well with #4C6CFA?
The complementary color is HSL(49, 95%, 64%). For a triadic harmony, use hues 229°, 349°, and 109°. For analogous combinations, try hues 199° and 259°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(229, 95%, 64%) in CSS?
As HSL: color: hsl(229, 95%, 64%); — As HEX: color: #4C6CFA; — As RGB: color: rgb(76, 108, 250); — Tailwind CSS: bg-[hsl(229,95%,64%)] — CSS variable: --color-primary: hsl(229, 95%, 64%);