HSL(211, 34%, 62%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(211,34%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(211, 34%, 62%) | color: hsl(211, 34%, 62%) | |
| HEX | #7D9DBF | color: #7D9DBF | |
| RGB | rgb(125, 157, 191) | color: rgb(125, 157, 191) | |
| CMYK | cmyk(35%, 18%, 0%, 25%) | — | |
| HSV | hsv(211, 35%, 75%) | — | |
| HWB | hwb(211 49% 25%) | color: hwb(211 49% 25%) | |
| OKLCH | oklch(0.6844 0.0618 250.28) | color: oklch(0.6844 0.0618 250.28) | |
| Lab | lab(63.54 -2.71 -21.11) | color: lab(63.54 -2.71 -21.11) | |
| LCH | lch(63.54 21.28 262.68) | color: lch(63.54 21.28 262.68) |
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)
#8B8BB7 — rgb(139, 139, 183)
Deuteranopia (Green-blind)
#8987B5 — rgb(137, 135, 181)
Tritanopia (Blue-blind)
#7FB0AF — rgb(127, 176, 175)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(211, 34%, 62%);
text
color: hsl(211, 34%, 62%);
border
border: 2px solid hsl(211, 34%, 62%);
gradient light
background: linear-gradient(to right, hsl(211, 34%, 82%), hsl(211, 34%, 62%));
gradient dark
background: linear-gradient(to right, hsl(211, 34%, 62%), hsl(211, 34%, 42%))
hex
background-color: #7D9DBF;
tailwind
bg-[hsl(211,34%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(211, 34%, 62%, 0.4);
css variable
--color-primary: hsl(211, 34%, 62%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(211, 34%, 62%)?
HEX: #7D9DBF | RGB: rgb(125, 157, 191) | CMYK: 35%, 18%, 0%, 25% | HSV: 211°, 35%, 75%. Copy any format from the conversion table above.
What colors go well with #7D9DBF?
The complementary color is HSL(31, 34%, 62%). For a triadic harmony, use hues 211°, 331°, and 91°. For analogous combinations, try hues 181° and 241°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(211, 34%, 62%) in CSS?
As HSL: color: hsl(211, 34%, 62%); — As HEX: color: #7D9DBF; — As RGB: color: rgb(125, 157, 191); — Tailwind CSS: bg-[hsl(211,34%,62%)] — CSS variable: --color-primary: hsl(211, 34%, 62%);