HSL(219, 20%, 57%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(219,20%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(219, 20%, 57%) | color: hsl(219, 20%, 57%) | |
| HEX | #7B8BA7 | color: #7B8BA7 | |
| RGB | rgb(123, 139, 167) | color: rgb(123, 139, 167) | |
| CMYK | cmyk(26%, 17%, 0%, 35%) | — | |
| HSV | hsv(218, 26%, 65%) | — | |
| HWB | hwb(218 48% 35%) | color: hwb(218 48% 35%) | |
| OKLCH | oklch(0.634 0.0462 261.6) | color: oklch(0.634 0.0462 261.6) | |
| Lab | lab(57.53 0.74 -16.69) | color: lab(57.53 0.74 -16.69) | |
| LCH | lch(57.53 16.71 272.54) | color: lch(57.53 16.71 272.54) |
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)
#8282A0 — rgb(130, 130, 160)
Deuteranopia (Green-blind)
#81809F — rgb(129, 128, 159)
Tritanopia (Blue-blind)
#7C9B9A — rgb(124, 155, 154)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(219, 20%, 57%);
text
color: hsl(219, 20%, 57%);
border
border: 2px solid hsl(219, 20%, 57%);
gradient light
background: linear-gradient(to right, hsl(219, 20%, 77%), hsl(219, 20%, 57%));
gradient dark
background: linear-gradient(to right, hsl(219, 20%, 57%), hsl(219, 20%, 37%))
hex
background-color: #7B8BA7;
tailwind
bg-[hsl(219,20%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(219, 20%, 57%, 0.4);
css variable
--color-primary: hsl(219, 20%, 57%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(219, 20%, 57%)?
HEX: #7B8BA7 | RGB: rgb(123, 139, 167) | CMYK: 26%, 17%, 0%, 35% | HSV: 218°, 26%, 65%. Copy any format from the conversion table above.
What colors go well with #7B8BA7?
The complementary color is HSL(39, 20%, 57%). For a triadic harmony, use hues 219°, 339°, and 99°. For analogous combinations, try hues 189° and 249°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(219, 20%, 57%) in CSS?
As HSL: color: hsl(219, 20%, 57%); — As HEX: color: #7B8BA7; — As RGB: color: rgb(123, 139, 167); — Tailwind CSS: bg-[hsl(219,20%,57%)] — CSS variable: --color-primary: hsl(219, 20%, 57%);