HSL(230, 21%, 58%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,21%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 21%, 58%) | color: hsl(230, 21%, 58%) | |
| HEX | #7D85AA | color: #7D85AA | |
| RGB | rgb(125, 133, 170) | color: rgb(125, 133, 170) | |
| CMYK | cmyk(26%, 22%, 0%, 33%) | — | |
| HSV | hsv(229, 26%, 67%) | — | |
| HWB | hwb(229 50% 33%) | color: hwb(229 50% 33%) | |
| OKLCH | oklch(0.6238 0.0567 275.14) | color: oklch(0.6238 0.0567 275.14) | |
| Lab | lab(56.12 5.58 -20.53) | color: lab(56.12 5.58 -20.53) | |
| LCH | lch(56.12 21.27 285.21) | color: lch(56.12 21.27 285.21) |
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)
#8081A1 — rgb(128, 129, 161)
Deuteranopia (Green-blind)
#807F9F — rgb(128, 127, 159)
Tritanopia (Blue-blind)
#7D9A98 — rgb(125, 154, 152)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 21%, 58%);
text
color: hsl(230, 21%, 58%);
border
border: 2px solid hsl(230, 21%, 58%);
gradient light
background: linear-gradient(to right, hsl(230, 21%, 78%), hsl(230, 21%, 58%));
gradient dark
background: linear-gradient(to right, hsl(230, 21%, 58%), hsl(230, 21%, 38%))
hex
background-color: #7D85AA;
tailwind
bg-[hsl(230,21%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 21%, 58%, 0.4);
css variable
--color-primary: hsl(230, 21%, 58%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 21%, 58%)?
HEX: #7D85AA | RGB: rgb(125, 133, 170) | CMYK: 26%, 22%, 0%, 33% | HSV: 229°, 26%, 67%. Copy any format from the conversion table above.
What colors go well with #7D85AA?
The complementary color is HSL(50, 21%, 58%). For a triadic harmony, use hues 230°, 350°, and 110°. For analogous combinations, try hues 200° and 260°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(230, 21%, 58%) in CSS?
As HSL: color: hsl(230, 21%, 58%); — As HEX: color: #7D85AA; — As RGB: color: rgb(125, 133, 170); — Tailwind CSS: bg-[hsl(230,21%,58%)] — CSS variable: --color-primary: hsl(230, 21%, 58%);