HSL(229, 22%, 57%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(229,22%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 22%, 57%) | color: hsl(229, 22%, 57%) | |
| HEX | #7982A9 | color: #7982A9 | |
| RGB | rgb(121, 130, 169) | color: rgb(121, 130, 169) | |
| CMYK | cmyk(28%, 23%, 0%, 34%) | — | |
| HSV | hsv(229, 28%, 66%) | — | |
| HWB | hwb(229 48% 34%) | color: hwb(229 48% 34%) | |
| OKLCH | oklch(0.6138 0.0601 274.41) | color: oklch(0.6138 0.0601 274.41) | |
| Lab | lab(54.96 5.83 -21.76) | color: lab(54.96 5.83 -21.76) | |
| LCH | lch(54.96 22.53 285) | color: lch(54.96 22.53 285) |
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)
#7D7DA0 — rgb(125, 125, 160)
Deuteranopia (Green-blind)
#7C7C9D — rgb(124, 124, 157)
Tritanopia (Blue-blind)
#799896 — rgb(121, 152, 150)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 22%, 57%);
text
color: hsl(229, 22%, 57%);
border
border: 2px solid hsl(229, 22%, 57%);
gradient light
background: linear-gradient(to right, hsl(229, 22%, 77%), hsl(229, 22%, 57%));
gradient dark
background: linear-gradient(to right, hsl(229, 22%, 57%), hsl(229, 22%, 37%))
hex
background-color: #7982A9;
tailwind
bg-[hsl(229,22%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 22%, 57%, 0.4);
css variable
--color-primary: hsl(229, 22%, 57%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 22%, 57%)?
HEX: #7982A9 | RGB: rgb(121, 130, 169) | CMYK: 28%, 23%, 0%, 34% | HSV: 229°, 28%, 66%. Copy any format from the conversion table above.
What colors go well with #7982A9?
The complementary color is HSL(49, 22%, 57%). 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, 22%, 57%) in CSS?
As HSL: color: hsl(229, 22%, 57%); — As HEX: color: #7982A9; — As RGB: color: rgb(121, 130, 169); — Tailwind CSS: bg-[hsl(229,22%,57%)] — CSS variable: --color-primary: hsl(229, 22%, 57%);