HSL(224, 30%, 40%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(224,30%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(224, 30%, 40%) | color: hsl(224, 30%, 40%) | |
| HEX | #475885 | color: #475885 | |
| RGB | rgb(71, 88, 133) | color: rgb(71, 88, 133) | |
| CMYK | cmyk(47%, 34%, 0%, 48%) | — | |
| HSV | hsv(224, 47%, 52%) | — | |
| HWB | hwb(224 28% 48%) | color: hwb(224 28% 48%) | |
| OKLCH | oklch(0.4665 0.0765 267.63) | color: oklch(0.4665 0.0765 267.63) | |
| Lab | lab(37.86 6.37 -27.23) | color: lab(37.86 6.37 -27.23) | |
| LCH | lch(37.86 27.97 283.17) | color: lch(37.86 27.97 283.17) |
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)
#4E4F7A — rgb(78, 79, 122)
Deuteranopia (Green-blind)
#4D4C78 — rgb(77, 76, 120)
Tritanopia (Blue-blind)
#487270 — rgb(72, 114, 112)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(224, 30%, 40%);
text
color: hsl(224, 30%, 40%);
border
border: 2px solid hsl(224, 30%, 40%);
gradient light
background: linear-gradient(to right, hsl(224, 30%, 60%), hsl(224, 30%, 40%));
gradient dark
background: linear-gradient(to right, hsl(224, 30%, 40%), hsl(224, 30%, 20%))
hex
background-color: #475885;
tailwind
bg-[hsl(224,30%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(224, 30%, 40%, 0.4);
css variable
--color-primary: hsl(224, 30%, 40%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(224, 30%, 40%)?
HEX: #475885 | RGB: rgb(71, 88, 133) | CMYK: 47%, 34%, 0%, 48% | HSV: 224°, 47%, 52%. Copy any format from the conversion table above.
What colors go well with #475885?
The complementary color is HSL(44, 30%, 40%). For a triadic harmony, use hues 224°, 344°, and 104°. For analogous combinations, try hues 194° and 254°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(224, 30%, 40%) in CSS?
As HSL: color: hsl(224, 30%, 40%); — As HEX: color: #475885; — As RGB: color: rgb(71, 88, 133); — Tailwind CSS: bg-[hsl(224,30%,40%)] — CSS variable: --color-primary: hsl(224, 30%, 40%);