HSL(212, 30%, 56%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(212,30%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(212, 30%, 56%) | color: hsl(212, 30%, 56%) | |
| HEX | #6D8DB0 | color: #6D8DB0 | |
| RGB | rgb(109, 141, 176) | color: rgb(109, 141, 176) | |
| CMYK | cmyk(38%, 20%, 0%, 31%) | — | |
| HSV | hsv(211, 38%, 69%) | — | |
| HWB | hwb(211 43% 31%) | color: hwb(211 43% 31%) | |
| OKLCH | oklch(0.6325 0.0642 251.1) | color: oklch(0.6325 0.0642 251.1) | |
| Lab | lab(57.5 -2.24 -21.96) | color: lab(57.5 -2.24 -21.96) | |
| LCH | lch(57.5 22.07 264.18) | color: lch(57.5 22.07 264.18) |
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)
#7B7BA8 — rgb(123, 123, 168)
Deuteranopia (Green-blind)
#7977A6 — rgb(121, 119, 166)
Tritanopia (Blue-blind)
#6FA19F — rgb(111, 161, 159)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(212, 30%, 56%);
text
color: hsl(212, 30%, 56%);
border
border: 2px solid hsl(212, 30%, 56%);
gradient light
background: linear-gradient(to right, hsl(212, 30%, 76%), hsl(212, 30%, 56%));
gradient dark
background: linear-gradient(to right, hsl(212, 30%, 56%), hsl(212, 30%, 36%))
hex
background-color: #6D8DB0;
tailwind
bg-[hsl(212,30%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(212, 30%, 56%, 0.4);
css variable
--color-primary: hsl(212, 30%, 56%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(212, 30%, 56%)?
HEX: #6D8DB0 | RGB: rgb(109, 141, 176) | CMYK: 38%, 20%, 0%, 31% | HSV: 211°, 38%, 69%. Copy any format from the conversion table above.
What colors go well with #6D8DB0?
The complementary color is HSL(32, 30%, 56%). For a triadic harmony, use hues 212°, 332°, and 92°. For analogous combinations, try hues 182° and 242°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(212, 30%, 56%) in CSS?
As HSL: color: hsl(212, 30%, 56%); — As HEX: color: #6D8DB0; — As RGB: color: rgb(109, 141, 176); — Tailwind CSS: bg-[hsl(212,30%,56%)] — CSS variable: --color-primary: hsl(212, 30%, 56%);