HSL(243, 15%, 54%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(243,15%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(243, 15%, 54%) | color: hsl(243, 15%, 54%) | |
| HEX | #7A789B | color: #7A789B | |
| RGB | rgb(122, 120, 155) | color: rgb(122, 120, 155) | |
| CMYK | cmyk(21%, 23%, 0%, 39%) | — | |
| HSV | hsv(243, 23%, 61%) | — | |
| HWB | hwb(243 47% 39%) | color: hwb(243 47% 39%) | |
| OKLCH | oklch(0.5874 0.0532 287.26) | color: oklch(0.5874 0.0532 287.26) | |
| Lab | lab(51.77 8.53 -18.53) | color: lab(51.77 8.53 -18.53) | |
| LCH | lch(51.77 20.4 294.72) | color: lch(51.77 20.4 294.72) |
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)
#797993 — rgb(121, 121, 147)
Deuteranopia (Green-blind)
#797991 — rgb(121, 121, 145)
Tritanopia (Blue-blind)
#7A8C8A — rgb(122, 140, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(243, 15%, 54%);
text
color: hsl(243, 15%, 54%);
border
border: 2px solid hsl(243, 15%, 54%);
gradient light
background: linear-gradient(to right, hsl(243, 15%, 74%), hsl(243, 15%, 54%));
gradient dark
background: linear-gradient(to right, hsl(243, 15%, 54%), hsl(243, 15%, 34%))
hex
background-color: #7A789B;
tailwind
bg-[hsl(243,15%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(243, 15%, 54%, 0.4);
css variable
--color-primary: hsl(243, 15%, 54%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(243, 15%, 54%)?
HEX: #7A789B | RGB: rgb(122, 120, 155) | CMYK: 21%, 23%, 0%, 39% | HSV: 243°, 23%, 61%. Copy any format from the conversion table above.
What colors go well with #7A789B?
The complementary color is HSL(63, 15%, 54%). For a triadic harmony, use hues 243°, 3°, and 123°. For analogous combinations, try hues 213° and 273°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(243, 15%, 54%) in CSS?
As HSL: color: hsl(243, 15%, 54%); — As HEX: color: #7A789B; — As RGB: color: rgb(122, 120, 155); — Tailwind CSS: bg-[hsl(243,15%,54%)] — CSS variable: --color-primary: hsl(243, 15%, 54%);