HSL(229, 42%, 47%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(229,42%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 42%, 47%) | color: hsl(229, 42%, 47%) | |
| HEX | #4658AA | color: #4658AA | |
| RGB | rgb(70, 88, 170) | color: rgb(70, 88, 170) | |
| CMYK | cmyk(59%, 48%, 0%, 33%) | — | |
| HSV | hsv(229, 59%, 67%) | — | |
| HWB | hwb(229 27% 33%) | color: hwb(229 27% 33%) | |
| OKLCH | oklch(0.4887 0.1321 271.43) | color: oklch(0.4887 0.1321 271.43) | |
| Lab | lab(39.89 18.49 -46.26) | color: lab(39.89 18.49 -46.26) | |
| LCH | lch(39.89 49.82 291.79) | color: lch(39.89 49.82 291.79) |
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)
#4E4E96 — rgb(78, 78, 150)
Deuteranopia (Green-blind)
#4D4B91 — rgb(77, 75, 145)
Tritanopia (Blue-blind)
#478683 — rgb(71, 134, 131)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 42%, 47%);
text
color: hsl(229, 42%, 47%);
border
border: 2px solid hsl(229, 42%, 47%);
gradient light
background: linear-gradient(to right, hsl(229, 42%, 67%), hsl(229, 42%, 47%));
gradient dark
background: linear-gradient(to right, hsl(229, 42%, 47%), hsl(229, 42%, 27%))
hex
background-color: #4658AA;
tailwind
bg-[hsl(229,42%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 42%, 47%, 0.4);
css variable
--color-primary: hsl(229, 42%, 47%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 42%, 47%)?
HEX: #4658AA | RGB: rgb(70, 88, 170) | CMYK: 59%, 48%, 0%, 33% | HSV: 229°, 59%, 67%. Copy any format from the conversion table above.
What colors go well with #4658AA?
The complementary color is HSL(49, 42%, 47%). 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, 42%, 47%) in CSS?
As HSL: color: hsl(229, 42%, 47%); — As HEX: color: #4658AA; — As RGB: color: rgb(70, 88, 170); — Tailwind CSS: bg-[hsl(229,42%,47%)] — CSS variable: --color-primary: hsl(229, 42%, 47%);