HSL(197, 57%, 34%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(197,57%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(197, 57%, 34%) | color: hsl(197, 57%, 34%) | |
| HEX | #256C88 | color: #256C88 | |
| RGB | rgb(37, 108, 136) | color: rgb(37, 108, 136) | |
| CMYK | cmyk(73%, 21%, 0%, 47%) | — | |
| HSV | hsv(197, 73%, 53%) | — | |
| HWB | hwb(197 14% 47%) | color: hwb(197 14% 47%) | |
| OKLCH | oklch(0.5001 0.0819 228.22) | color: oklch(0.5001 0.0819 228.22) | |
| Lab | lab(42.6 -12.18 -21.78) | color: lab(42.6 -12.18 -21.78) | |
| LCH | lch(42.6 24.95 240.78) | color: lch(42.6 24.95 240.78) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#444481 — rgb(68, 68, 129)
Deuteranopia (Green-blind)
#403A80 — rgb(64, 58, 128)
Tritanopia (Blue-blind)
#297C7B — rgb(41, 124, 123)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(197, 57%, 34%);
text
color: hsl(197, 57%, 34%);
border
border: 2px solid hsl(197, 57%, 34%);
gradient light
background: linear-gradient(to right, hsl(197, 57%, 54%), hsl(197, 57%, 34%));
gradient dark
background: linear-gradient(to right, hsl(197, 57%, 34%), hsl(197, 57%, 14%))
hex
background-color: #256C88;
tailwind
bg-[hsl(197,57%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(197, 57%, 34%, 0.4);
css variable
--color-primary: hsl(197, 57%, 34%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(197, 57%, 34%)?
HEX: #256C88 | RGB: rgb(37, 108, 136) | CMYK: 73%, 21%, 0%, 47% | HSV: 197°, 73%, 53%. Copy any format from the conversion table above.
What colors go well with #256C88?
The complementary color is HSL(17, 57%, 34%). For a triadic harmony, use hues 197°, 317°, and 77°. For analogous combinations, try hues 167° and 227°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(197, 57%, 34%) in CSS?
As HSL: color: hsl(197, 57%, 34%); — As HEX: color: #256C88; — As RGB: color: rgb(37, 108, 136); — Tailwind CSS: bg-[hsl(197,57%,34%)] — CSS variable: --color-primary: hsl(197, 57%, 34%);