HSL(227, 14%, 55%)
Grayish Blue — Blue color
Adjust Color
Color Information
Color Name
Grayish Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(227,14%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 14%, 55%) | color: hsl(227, 14%, 55%) | |
| HEX | #7C839C | color: #7C839C | |
| RGB | rgb(124, 131, 156) | color: rgb(124, 131, 156) | |
| CMYK | cmyk(21%, 16%, 0%, 39%) | — | |
| HSV | hsv(227, 21%, 61%) | — | |
| HWB | hwb(227 48% 39%) | color: hwb(227 48% 39%) | |
| OKLCH | oklch(0.613 0.0387 272.91) | color: oklch(0.613 0.0387 272.91) | |
| Lab | lab(54.99 2.99 -14.2) | color: lab(54.99 2.99 -14.2) | |
| LCH | lch(54.99 14.51 281.89) | color: lch(54.99 14.51 281.89) |
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)
#7F7F96 — rgb(127, 127, 150)
Deuteranopia (Green-blind)
#7F7E95 — rgb(127, 126, 149)
Tritanopia (Blue-blind)
#7C9190 — rgb(124, 145, 144)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 14%, 55%);
text
color: hsl(227, 14%, 55%);
border
border: 2px solid hsl(227, 14%, 55%);
gradient light
background: linear-gradient(to right, hsl(227, 14%, 75%), hsl(227, 14%, 55%));
gradient dark
background: linear-gradient(to right, hsl(227, 14%, 55%), hsl(227, 14%, 35%))
hex
background-color: #7C839C;
tailwind
bg-[hsl(227,14%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 14%, 55%, 0.4);
css variable
--color-primary: hsl(227, 14%, 55%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 14%, 55%)?
HEX: #7C839C | RGB: rgb(124, 131, 156) | CMYK: 21%, 16%, 0%, 39% | HSV: 227°, 21%, 61%. Copy any format from the conversion table above.
What colors go well with #7C839C?
The complementary color is HSL(47, 14%, 55%). 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, 14%, 55%) in CSS?
As HSL: color: hsl(227, 14%, 55%); — As HEX: color: #7C839C; — As RGB: color: rgb(124, 131, 156); — Tailwind CSS: bg-[hsl(227,14%,55%)] — CSS variable: --color-primary: hsl(227, 14%, 55%);