HSL(197, 68%, 27%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(197,68%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(197, 68%, 27%) | color: hsl(197, 68%, 27%) | |
| HEX | #165974 | color: #165974 | |
| RGB | rgb(22, 89, 116) | color: rgb(22, 89, 116) | |
| CMYK | cmyk(81%, 23%, 0%, 55%) | — | |
| HSV | hsv(197, 81%, 45%) | — | |
| HWB | hwb(197 9% 55%) | color: hwb(197 9% 55%) | |
| OKLCH | oklch(0.4365 0.0777 230.02) | color: oklch(0.4365 0.0777 230.02) | |
| Lab | lab(35.15 -10.37 -21.17) | color: lab(35.15 -10.37 -21.17) | |
| LCH | lch(35.15 23.57 243.9) | color: lch(35.15 23.57 243.9) |
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)
#33346D — rgb(51, 52, 109)
Deuteranopia (Green-blind)
#2F2A6C — rgb(47, 42, 108)
Tritanopia (Blue-blind)
#196867 — rgb(25, 104, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(197, 68%, 27%);
text
color: hsl(197, 68%, 27%);
border
border: 2px solid hsl(197, 68%, 27%);
gradient light
background: linear-gradient(to right, hsl(197, 68%, 47%), hsl(197, 68%, 27%));
gradient dark
background: linear-gradient(to right, hsl(197, 68%, 27%), hsl(197, 68%, 7%))
hex
background-color: #165974;
tailwind
bg-[hsl(197,68%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(197, 68%, 27%, 0.4);
css variable
--color-primary: hsl(197, 68%, 27%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(197, 68%, 27%)?
HEX: #165974 | RGB: rgb(22, 89, 116) | CMYK: 81%, 23%, 0%, 55% | HSV: 197°, 81%, 45%. Copy any format from the conversion table above.
What colors go well with #165974?
The complementary color is HSL(17, 68%, 27%). 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, 68%, 27%) in CSS?
As HSL: color: hsl(197, 68%, 27%); — As HEX: color: #165974; — As RGB: color: rgb(22, 89, 116); — Tailwind CSS: bg-[hsl(197,68%,27%)] — CSS variable: --color-primary: hsl(197, 68%, 27%);