HSL(227, 20%, 34%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(227,20%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 20%, 34%) | color: hsl(227, 20%, 34%) | |
| HEX | #454D68 | color: #454D68 | |
| RGB | rgb(69, 77, 104) | color: rgb(69, 77, 104) | |
| CMYK | cmyk(34%, 26%, 0%, 59%) | — | |
| HSV | hsv(226, 34%, 41%) | — | |
| HWB | hwb(226 27% 59%) | color: hwb(226 27% 59%) | |
| OKLCH | oklch(0.4244 0.0462 271.56) | color: oklch(0.4244 0.0462 271.56) | |
| Lab | lab(33.08 3.93 -16.7) | color: lab(33.08 3.93 -16.7) | |
| LCH | lch(33.08 17.16 283.24) | color: lch(33.08 17.16 283.24) |
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)
#484961 — rgb(72, 73, 97)
Deuteranopia (Green-blind)
#484760 — rgb(72, 71, 96)
Tritanopia (Blue-blind)
#455C5B — rgb(69, 92, 91)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 20%, 34%);
text
color: hsl(227, 20%, 34%);
border
border: 2px solid hsl(227, 20%, 34%);
gradient light
background: linear-gradient(to right, hsl(227, 20%, 54%), hsl(227, 20%, 34%));
gradient dark
background: linear-gradient(to right, hsl(227, 20%, 34%), hsl(227, 20%, 14%))
hex
background-color: #454D68;
tailwind
bg-[hsl(227,20%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 20%, 34%, 0.4);
css variable
--color-primary: hsl(227, 20%, 34%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 20%, 34%)?
HEX: #454D68 | RGB: rgb(69, 77, 104) | CMYK: 34%, 26%, 0%, 59% | HSV: 226°, 34%, 41%. Copy any format from the conversion table above.
What colors go well with #454D68?
The complementary color is HSL(47, 20%, 34%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(227, 20%, 34%) in CSS?
As HSL: color: hsl(227, 20%, 34%); — As HEX: color: #454D68; — As RGB: color: rgb(69, 77, 104); — Tailwind CSS: bg-[hsl(227,20%,34%)] — CSS variable: --color-primary: hsl(227, 20%, 34%);