HSL(229, 87%, 62%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(229,87%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 87%, 62%) | color: hsl(229, 87%, 62%) | |
| HEX | #4A69F2 | color: #4A69F2 | |
| RGB | rgb(74, 105, 242) | color: rgb(74, 105, 242) | |
| CMYK | cmyk(69%, 57%, 0%, 5%) | — | |
| HSV | hsv(229, 69%, 95%) | — | |
| HWB | hwb(229 29% 5%) | color: hwb(229 29% 5%) | |
| OKLCH | oklch(0.577 0.208 269.16) | color: oklch(0.577 0.208 269.16) | |
| Lab | lab(49.46 33.44 -72.16) | color: lab(49.46 33.44 -72.16) | |
| LCH | lch(49.46 79.53 294.86) | color: lch(49.46 79.53 294.86) |
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)
#5758D1 — rgb(87, 88, 209)
Deuteranopia (Green-blind)
#5653C9 — rgb(86, 83, 201)
Tritanopia (Blue-blind)
#4CB7B1 — rgb(76, 183, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 87%, 62%);
text
color: hsl(229, 87%, 62%);
border
border: 2px solid hsl(229, 87%, 62%);
gradient light
background: linear-gradient(to right, hsl(229, 87%, 82%), hsl(229, 87%, 62%));
gradient dark
background: linear-gradient(to right, hsl(229, 87%, 62%), hsl(229, 87%, 42%))
hex
background-color: #4A69F2;
tailwind
bg-[hsl(229,87%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 87%, 62%, 0.4);
css variable
--color-primary: hsl(229, 87%, 62%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 87%, 62%)?
HEX: #4A69F2 | RGB: rgb(74, 105, 242) | CMYK: 69%, 57%, 0%, 5% | HSV: 229°, 69%, 95%. Copy any format from the conversion table above.
What colors go well with #4A69F2?
The complementary color is HSL(49, 87%, 62%). 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, 87%, 62%) in CSS?
As HSL: color: hsl(229, 87%, 62%); — As HEX: color: #4A69F2; — As RGB: color: rgb(74, 105, 242); — Tailwind CSS: bg-[hsl(229,87%,62%)] — CSS variable: --color-primary: hsl(229, 87%, 62%);